aboutsummaryrefslogtreecommitdiff
path: root/math/x12arima
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:52:39 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:52:39 +0000
commitd9b51276267edffe96f5dfa613e9010e8b20d481 (patch)
tree71cbf3545f3c46063cafedf3043c72b11789854f /math/x12arima
parent3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc (diff)
downloadports-d9b51276267edffe96f5dfa613e9010e8b20d481.tar.gz
ports-d9b51276267edffe96f5dfa613e9010e8b20d481.zip
Notes
Diffstat (limited to 'math/x12arima')
-rw-r--r--math/x12arima/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/math/x12arima/Makefile b/math/x12arima/Makefile
index 8c14d07f1471..ae3f4063b5c0 100644
--- a/math/x12arima/Makefile
+++ b/math/x12arima/Makefile
@@ -18,13 +18,17 @@ MAKEFILE= makefile.lnx
PLIST_FILES= bin/x12a
-.ifndef(NOPORTDOCS) || make(makesum)
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS} || make(makesum)
DISTFILES+= docsv03.tar.gz
.endif
-.ifndef(NOPORTDOCS)
PORTDOCS= ReleaseNotesVersion03.pdf qref03unix.pdf x12adocV03.pdf
+.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/docs && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})