diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-05 05:44:04 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-05 05:44:04 +0800 |
commit | 6f4296b0136375c849414ae5c03abbad92011567 (patch) | |
tree | 745f97af838071739e1b6070acbf4862962b5405 /net/gwhois | |
parent | 7358548dfc6a0ba78831b72d59132f5b85966e0d (diff) | |
download | freebsd-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/Makefile | 18 |
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> |