aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-27 02:22:33 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-27 02:22:33 +0800
commit977e999c0b032333c38a39ae48369ce254ba2b8f (patch)
tree370cfae7911773befd624cef6fe65dfbab55d10f /dns
parent7193560605f38c71f311c7ea416cabd2e016fade (diff)
downloadfreebsd-ports-gnome-977e999c0b032333c38a39ae48369ce254ba2b8f.tar.gz
freebsd-ports-gnome-977e999c0b032333c38a39ae48369ce254ba2b8f.tar.zst
freebsd-ports-gnome-977e999c0b032333c38a39ae48369ce254ba2b8f.zip
- Switch to options helpers
- DOCS is not needed in OPTIONS_DEFAULT Approved by: portmgr blanket
Diffstat (limited to 'dns')
-rw-r--r--dns/adns/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/dns/adns/Makefile b/dns/adns/Makefile
index 344239da3822..1e700a5ac2e9 100644
--- a/dns/adns/Makefile
+++ b/dns/adns/Makefile
@@ -34,15 +34,10 @@ TOSTRIP= bin/adnsheloex \
lib/libadns.so.1
OPTIONS_DEFINE= DOCS
-OPTIONS_DEFAULT= DOCS
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
-.endif
post-stage:
.for f in ${TOSTRIP}