diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-08-30 18:18:14 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-08-30 18:18:14 +0000 |
commit | f1655c7b7a8394e97805065ad1bfeaff081be754 (patch) | |
tree | 28c3dca12fbbbe0e28dcc3b3656eeba34ee7ac45 /dns/libidn | |
parent | 9e29570778a0b7b5ff5763187bd64bb28867e077 (diff) |
dns/libidn:
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Always install libidn-components.png because it is used by libidn.info
- Add -lintl to Libs.private instead of Libs in libidn.pc
Notes
Notes:
svn path=/head/; revision=366659
Diffstat (limited to 'dns/libidn')
-rw-r--r-- | dns/libidn/Makefile | 20 | ||||
-rw-r--r-- | dns/libidn/pkg-plist | 6 |
2 files changed, 10 insertions, 16 deletions
diff --git a/dns/libidn/Makefile b/dns/libidn/Makefile index ea5b5c03b19b..235029425b1e 100644 --- a/dns/libidn/Makefile +++ b/dns/libidn/Makefile @@ -3,7 +3,7 @@ PORTNAME= libidn PORTVERSION= 1.28 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= GNU @@ -12,12 +12,13 @@ COMMENT= Internationalized Domain Names command line tool OPTIONS_DEFINE= DOCS NLS -USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib +INSTALL_TARGET= install-strip +USES= iconv libtool makeinfo pathfix perl5 pkgconfig +USE_LDCONFIG= yes USE_PERL5= build -USES= iconv makeinfo pathfix perl5 pkgconfig INFO= libidn @@ -32,17 +33,10 @@ PLIST_SUB+= NLS="@comment " .endif post-patch: - @${REINPLACE_CMD} -e 's|@image{components}||g' \ - ${WRKSRC}/doc/libidn.texi - @${REINPLACE_CMD} -e 's|$$(AUTOMAKE)|${TRUE}|; /imagesdir = / s|infodir|docdir|' \ - ${WRKSRC}/doc/Makefile.in -.if ! ${PORT_OPTIONS:MDOCS} - @${REINPLACE_CMD} -e '/^install-data-am: / s| install-imagesDATA||' \ + @${REINPLACE_CMD} -e '/^Makefile.gdoc:/s/configure /configure.ac /' \ ${WRKSRC}/doc/Makefile.in -.endif -.if ${PORT_OPTIONS:MNLS} - @${REINPLACE_CMD} -e 's/-lidn/& -lintl/' ${WRKSRC}/libidn.pc.in -.endif + @${REINPLACE_CMD} -e '/^Libs.private:/s/$$/ @LTLIBINTL@/' \ + ${WRKSRC}/libidn.pc.in post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/dns/libidn/pkg-plist b/dns/libidn/pkg-plist index 09e8a36bebdc..00249d1afc6c 100644 --- a/dns/libidn/pkg-plist +++ b/dns/libidn/pkg-plist @@ -6,10 +6,11 @@ include/pr29.h include/punycode.h include/stringprep.h include/tld.h +info/libidn-components.png lib/libidn.a -lib/libidn.la lib/libidn.so -lib/libidn.so.17 +lib/libidn.so.11 +lib/libidn.so.11.6.11 libdata/pkgconfig/libidn.pc share/emacs/site-lisp/idna.el share/emacs/site-lisp/punycode.el @@ -33,7 +34,6 @@ share/emacs/site-lisp/punycode.el %%PORTDOCS%%%%DOCSDIR%%/FAQ %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/libidn-components.png %%PORTDOCS%%@dirrm %%DOCSDIR%% man/man1/idn.1.gz man/man3/idn_free.3.gz |