opnsense-ports/dns/libidn/Makefile
Franco Fichtner dad24ee8a9 */*: sync with upstream
Taken from: FreeBSD
2015-07-24 07:09:56 +02:00

39 lines
791 B
Makefile

# Created by: Kirill Ponomarew <ponomarew@oberon.net>
# $FreeBSD$
PORTNAME= libidn
PORTVERSION= 1.31
CATEGORIES= dns
MASTER_SITES= GNU
MAINTAINER= gaod@hychen.org
COMMENT= Internationalized Domain Names command line tool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
USES= gmake iconv libtool makeinfo pathfix perl5 pkgconfig
USE_LDCONFIG= yes
USE_PERL5= build
INFO= libidn
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB=yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} -e '/^Libs.private:/s/$$/ @LTLIBINTL@/' \
${WRKSRC}/libidn.pc.in
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in FAQ NEWS README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>