aboutsummaryrefslogtreecommitdiffstats
path: root/net/gwhois
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-05 05:44:04 +0800
committeradamw <adamw@FreeBSD.org>2014-07-05 05:44:04 +0800
commit6f4296b0136375c849414ae5c03abbad92011567 (patch)
tree745f97af838071739e1b6070acbf4862962b5405 /net/gwhois
parent7358548dfc6a0ba78831b72d59132f5b85966e0d (diff)
downloadfreebsd-ports-gnome-6f4296b0136375c849414ae5c03abbad92011567.tar.gz
freebsd-ports-gnome-6f4296b0136375c849414ae5c03abbad92011567.tar.zst
freebsd-ports-gnome-6f4296b0136375c849414ae5c03abbad92011567.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'net/gwhois')
-rw-r--r--net/gwhois/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/net/gwhois/Makefile b/net/gwhois/Makefile
index 3d4108ef2cb3..f6e775b9c2ea 100644
--- a/net/gwhois/Makefile
+++ b/net/gwhois/Makefile
@@ -24,18 +24,18 @@ PLIST_FILES= bin/${PORTNAME} man/man1/gwhois.1.gz %%DATADIR%%/pattern
PLIST_DIRS= %%DATADIR%%
PORTDOCS= TODO README.RIPE
+OPTIONS_DEFINE= DOCS
+
post-patch:
- @${REINPLACE_CMD} -e 's|/etc/gwhois|${DATADIR}|g'\
+ ${REINPLACE_CMD} -e 's|/etc/gwhois|${DATADIR}|g'\
${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.1
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
- @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
- @${INSTALL} -d ${STAGEDIR}${DATADIR}/
- @${INSTALL_DATA} ${WRKSRC}/pattern ${STAGEDIR}${DATADIR}/
-.ifndef NOPORTDOCS
- @${INSTALL} -d ${STAGEDIR}${DOCSDIR}/
- @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/pattern ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>