summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-27 15:53:53 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-10-27 15:53:53 +0000
commit0f2e3747e6a7e0bb91ac275b3e5b3482fcbaf60f (patch)
treeb4ac5bc1808767abd3134f43122566597d02acbd /dns
parentc182e0260c1caaaa50ce640bb10567f9e4fea17d (diff)
downloadfreebsd-ports-0f2e3747e6a7e0bb91ac275b3e5b3482fcbaf60f.zip
- Convert to new options target helper
- Convert to new options variable helper - While I'm here: - Add NO_ARCH - Fix indent Approved by: portmgr (blanket)
Diffstat (limited to 'dns')
-rw-r--r--dns/zonecheck/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/dns/zonecheck/Makefile b/dns/zonecheck/Makefile
index 8d1e18ae42de..41e7698738eb 100644
--- a/dns/zonecheck/Makefile
+++ b/dns/zonecheck/Makefile
@@ -16,9 +16,10 @@ LICENSE_FILE= ${WRKSRC}/GPL
RUN_DEPENDS= rubygem-dnsruby>=1.47:${PORTSDIR}/dns/rubygem-dnsruby
-USES= gmake tar:tgz
+USES= gmake tar:tgz
USE_RUBY= yes
+NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -30,13 +31,9 @@ OPTIONS_SUB=
CGI_DESC= Install with CGI support
-.include <bsd.port.options.mk>
-
ZONECHECK_TARGET= common cli
-.if ${PORT_OPTIONS:MCGI}
-ZONECHECK_TARGET+= cgi
-.endif
+CGI_VARS= ZONECHECK_TARGET+=cgi
do-install:
cd ${INSTALL_WRKSRC} && \
@@ -44,7 +41,7 @@ do-install:
-DETCDIST='-dist' -DRUBY="${RUBY}" -DPREFIX="${PREFIX}" \
-DWWWDIR="${PREFIX}/www/${PORTNAME}" -DCHROOT="${STAGEDIR}"
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}