aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-04 17:23:03 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-04 17:23:03 +0000
commitebe536c4406cf9926ec747a66e172b894a9fef7d (patch)
tree0ae9e858cf8d8ae54badcfb5413a3135c4bd7275 /dns
parent6da33f6421d5e6ce0a5c7bb6adfd3be37ce2a5ef (diff)
downloadports-ebe536c4406cf9926ec747a66e172b894a9fef7d.tar.gz
ports-ebe536c4406cf9926ec747a66e172b894a9fef7d.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/idnkit/Makefile31
-rw-r--r--dns/idnkit/pkg-plist9
2 files changed, 16 insertions, 24 deletions
diff --git a/dns/idnkit/Makefile b/dns/idnkit/Makefile
index 1f5043aeca6e..77f20a610594 100644
--- a/dns/idnkit/Makefile
+++ b/dns/idnkit/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= http://www.nic.ad.jp/ja/idn/idnkit/download/sources/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
-COMMENT= A library to handle internationalized domain names
+COMMENT= Library to handle internationalized domain names
USE_AUTOTOOLS= libtool
USES= iconv
@@ -20,33 +20,18 @@ CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} \
USE_LDCONFIG= yes
-MAN1= idnconv.1 \
- runidn.1
-MAN3= libidnkit.3 \
- libidnkitlite.3
-MAN5= idn.conf.5 \
- idnalias.conf.5 \
- idnrc.5
-MANCOMPRESSED= no
+OPTIONS_DEFINE= DOCS
-DOCS_EN= ChangeLog NEWS README
-DOCS_JA= README.ja
-
-NO_STAGE= yes
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|mode=link $$(LD)|mode=link $$(CC)|'
post-install:
- ${INSTALL_DATA} ${WRKSRC}/tools/runidn/libidnkitres.la ${PREFIX}/lib
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}/ja
-.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
-.endfor
-.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ja/
-.endfor
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/tools/runidn/libidnkitres.la \
+ ${STAGEDIR}${PREFIX}/lib
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/ja
+ (cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog NEWS README \
+ ${STAGEDIR}${DOCSDIR})
+ ${INSTALL_DATA} ${WRKSRC}/README.ja ${STAGEDIR}${DOCSDIR}/ja
.include <bsd.port.mk>
diff --git a/dns/idnkit/pkg-plist b/dns/idnkit/pkg-plist
index e147ce65e636..544a21e4bd94 100644
--- a/dns/idnkit/pkg-plist
+++ b/dns/idnkit/pkg-plist
@@ -49,11 +49,18 @@ lib/libidnkitres.a
lib/libidnkitres.la
lib/libidnkitres.so
lib/libidnkitres.so.1
+man/man1/idnconv.1.gz
+man/man1/runidn.1.gz
+man/man3/libidnkit.3.gz
+man/man3/libidnkitlite.3.gz
+man/man5/idn.conf.5.gz
+man/man5/idnalias.conf.5.gz
+man/man5/idnrc.5.gz
share/idnkit/jp.map
@dirrm share/idnkit
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/ja/README.ja
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/ja/
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/ja
%%PORTDOCS%%@dirrm %%DOCSDIR%%