aboutsummaryrefslogtreecommitdiffstats
path: root/math/rngstreams
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-04 08:52:39 +0800
committeradamw <adamw@FreeBSD.org>2014-07-04 08:52:39 +0800
commit312bafbda46d2ff47fbd40a4e4e34f59deeeecc6 (patch)
tree71cbf3545f3c46063cafedf3043c72b11789854f /math/rngstreams
parentffba0efda3d6171430d65d75094c80b02f39bd8e (diff)
downloadfreebsd-ports-gnome-312bafbda46d2ff47fbd40a4e4e34f59deeeecc6.tar.gz
freebsd-ports-gnome-312bafbda46d2ff47fbd40a4e4e34f59deeeecc6.tar.zst
freebsd-ports-gnome-312bafbda46d2ff47fbd40a4e4e34f59deeeecc6.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Approved by: portmgr (blanket)
Diffstat (limited to 'math/rngstreams')
-rw-r--r--math/rngstreams/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/math/rngstreams/Makefile b/math/rngstreams/Makefile
index 89d1d2e4f0ce..6912b404d5a9 100644
--- a/math/rngstreams/Makefile
+++ b/math/rngstreams/Makefile
@@ -22,19 +22,17 @@ PLIST_FILES= lib/librngstreams.a \
PORTDOCS= rngstreams.txt
PORTEXAMPLES= example1.c
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-install:
-.ifndef(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for DD in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/doc/${DD} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
-.ifndef(NOPORTEXAMPLES)
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for EE in ${PORTEXAMPLES}
@${INSTALL_DATA} ${WRKSRC}/examples/${EE} ${STAGEDIR}${EXAMPLESDIR}
.endfor
-.endif
regression-test: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check)