aboutsummaryrefslogtreecommitdiff
path: root/mail/mailgraph/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:33:29 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:33:29 +0000
commit3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc (patch)
tree92d4e44e25fb88a61a380cd3ee9dacf24fca37c4 /mail/mailgraph/Makefile
parent1261ab9470d3b27700cd81cd7020d4b3af86b962 (diff)
downloadports-3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc.tar.gz
ports-3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc.zip
Notes
Diffstat (limited to 'mail/mailgraph/Makefile')
-rw-r--r--mail/mailgraph/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/mailgraph/Makefile b/mail/mailgraph/Makefile
index 6cc0fe4aef96..b45e58557dfa 100644
--- a/mail/mailgraph/Makefile
+++ b/mail/mailgraph/Makefile
@@ -28,10 +28,10 @@ USE_RC_SUBR= ${PORTNAME}
SUB_LIST+= MAILGRAPH_USER=${MAILGRAPH_USER} MAILGRAPH_GROUP=${MAILGRAPH_GROUP}
PLIST_SUB= CGIDIR=${CGIDIR:S,${PREFIX}/,,} WWWROOT=${WWWROOT:S,${PREFIX}/,,}
+OPTIONS_DEFINE= DOCS
+
DOCS= README CHANGES
-.if !defined(NOPORTDOCS)
PORTDOCS= ${DOCS}
-.endif
pre-everything::
@${ECHO_MSG} ""
@@ -52,11 +52,9 @@ do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.pl ${STAGEDIR}${PREFIX}/sbin
@${INSTALL_SCRIPT} ${WRKSRC}/mailgraph.cgi ${STAGEDIR}${CGIDIR}
@${INSTALL_DATA} ${WRKSRC}/mailgraph.css ${STAGEDIR}${WWWROOT}/mailgraph
-.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
for f in ${DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}; \
done
-.endif
.include <bsd.port.mk>