aboutsummaryrefslogtreecommitdiffstats
path: root/dns/adns
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-20 23:36:46 +0800
committereadler <eadler@FreeBSD.org>2012-10-20 23:36:46 +0800
commitf34b4604ebb176b1b26d561b9c149b330b3a281a (patch)
treeb0aabd19b5e15885cb9a41a64e50d4a35237c4b6 /dns/adns
parent0b8b340080da941bfa6ceb54b33022a96d0a7d54 (diff)
downloadfreebsd-ports-gnome-f34b4604ebb176b1b26d561b9c149b330b3a281a.tar.gz
freebsd-ports-gnome-f34b4604ebb176b1b26d561b9c149b330b3a281a.tar.zst
freebsd-ports-gnome-f34b4604ebb176b1b26d561b9c149b330b3a281a.zip
Convert to OptionsNG
Feature safe: yes
Diffstat (limited to 'dns/adns')
-rw-r--r--dns/adns/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/dns/adns/Makefile b/dns/adns/Makefile
index 9ce58208bc28..9251726e7456 100644
--- a/dns/adns/Makefile
+++ b/dns/adns/Makefile
@@ -20,9 +20,11 @@ PLIST_SUB+= LIBVERSION="${LIBVERSION}"
DOCS= COPYING GPL-vs-LGPL INSTALL LICENCE.WAIVERS README README.html TODO changelog
+.include <bsd.port.options.mk>
+
post-install:
${STRIP_CMD} ${PREFIX}/bin/adnslogres ${PREFIX}/bin/adnshost
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif