aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-27 02:19:56 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-27 02:19:56 +0800
commit7e4de95d12f814bfa865dd4d4a6cac6f5d4c3895 (patch)
treec4201ce9bdac6b8fbc00bfe824b780ea3a6d2c2c
parent51b39776f7f1f47dc149755dd380c5bc22ba9618 (diff)
downloadfreebsd-ports-gnome-7e4de95d12f814bfa865dd4d4a6cac6f5d4c3895.tar.gz
freebsd-ports-gnome-7e4de95d12f814bfa865dd4d4a6cac6f5d4c3895.tar.zst
freebsd-ports-gnome-7e4de95d12f814bfa865dd4d4a6cac6f5d4c3895.zip
- Add NO_ARCH
- Switch to options helpers - Unsilence install commands Approved by: portmgr blanket
-rw-r--r--dns/walker/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/dns/walker/Makefile b/dns/walker/Makefile
index 5baedab19433..94a4311e03e7 100644
--- a/dns/walker/Makefile
+++ b/dns/walker/Makefile
@@ -16,20 +16,19 @@ RUN_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \
USES= perl5 shebangfix
SHEBANG_FILES= walker
NO_BUILD= yes
+NO_ARCH= yes
PLIST_FILES= bin/walker man/man1/walker.1.gz
PORTDOCS= index.html
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/walker ${STAGEDIR}${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/walker.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
+ ${INSTALL_SCRIPT} ${WRKSRC}/walker ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/walker.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/index.html ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>