1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Add LICENSE

- Switch to USES=localbase
- Pet portlint
- Switch to options helpers

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2018-03-01 09:03:03 +00:00
parent 550e0c1567
commit df9cdd455a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463287

View File

@ -10,11 +10,14 @@ MASTER_SITES= GNU
MAINTAINER= gaod@hychen.org
COMMENT= Internationalized Domain Names command line tool
LICENSE= GPLv2+ LGPL3+
LICENSE_COMB= dual
LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYINGv2
LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSERv3
USES= gmake iconv libtool localbase makeinfo pathfix perl5 pkgconfig
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
@ -22,7 +25,7 @@ INFO= libidn
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB=yes
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
@ -31,8 +34,8 @@ post-patch:
@${REINPLACE_CMD} -e '/^Libs.private:/s/$$/ @LTLIBINTL@/' \
${WRKSRC}/libidn.pc.in
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in FAQ NEWS README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor