aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bindgraph
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-04 05:57:31 +0800
committeradamw <adamw@FreeBSD.org>2014-07-04 05:57:31 +0800
commit563975c1b3ff6f794c5f734e1e4a41ca7c8c2efb (patch)
tree7704c92be4b39fd275f09238ba417439652da645 /dns/bindgraph
parent0e01bb75ed151d66335bab983694650ff66c1379 (diff)
downloadfreebsd-ports-gnome-563975c1b3ff6f794c5f734e1e4a41ca7c8c2efb.tar.gz
freebsd-ports-gnome-563975c1b3ff6f794c5f734e1e4a41ca7c8c2efb.tar.zst
freebsd-ports-gnome-563975c1b3ff6f794c5f734e1e4a41ca7c8c2efb.zip
Remove more PORTDOCS, and another DOCS->EXAMPLES.
Diffstat (limited to 'dns/bindgraph')
-rw-r--r--dns/bindgraph/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/dns/bindgraph/Makefile b/dns/bindgraph/Makefile
index 2e9b18c3a185..6052a54dfcef 100644
--- a/dns/bindgraph/Makefile
+++ b/dns/bindgraph/Makefile
@@ -28,9 +28,9 @@ SUB_LIST+= BINDGRAPH_USER=${BINDGRAPH_USER} BINDGRAPH_GROUP=${BINDGRAPH_GROUP}
PLIST_SUB= CGIDIR=${CGIDIR:S,${PREFIX}/,,}
DOCS= README ChangeLog
-.if !defined(NOPORTDOCS)
PORTDOCS= ${DOCS}
-.endif
+
+OPTIONS_DEFINE= DOCS
pre-everything::
@${ECHO_MSG} ""
@@ -50,12 +50,10 @@ do-install:
@${CHOWN} -R ${BINDGRAPH_USER}:${BINDGRAPH_GROUP} ${STAGEDIR}${DATADIR}/
@${INSTALL_SCRIPT} ${WRKSRC}/bindgraph.pl ${STAGEDIR}${PREFIX}/sbin/
@${INSTALL_SCRIPT} ${WRKSRC}/bindgraph.cgi ${STAGEDIR}${CGIDIR}/
-.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
for f in ${DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}/; \
done
-.endif
post-install:
@${ECHO_MSG} ""