aboutsummaryrefslogtreecommitdiff
path: root/science/cdf
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 22:08:14 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 22:08:14 +0000
commitd7964bc2699613e5b855a60b33978c6926fed4ac (patch)
treee17b8e2668f61273f7d92b0e106d3da5553774ce /science/cdf
parentdd46e5cccaacbd51b3bbcf35c2de7103807d58d7 (diff)
downloadports-d7964bc2699613e5b855a60b33978c6926fed4ac.tar.gz
ports-d7964bc2699613e5b855a60b33978c6926fed4ac.zip
Notes
Diffstat (limited to 'science/cdf')
-rw-r--r--science/cdf/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/science/cdf/Makefile b/science/cdf/Makefile
index 38618629fa3f..8eecf6f26783 100644
--- a/science/cdf/Makefile
+++ b/science/cdf/Makefile
@@ -30,6 +30,8 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
DEFS= B C K
PORTDOCS= CDF_copyright.txt CHANGES.txt Release.notes Welcome.txt
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
@@ -45,14 +47,10 @@ pre-configure:
post-install:
${MV} ${STAGEDIR}${PREFIX}/lib/libcdf.so ${STAGEDIR}${PREFIX}/lib/libcdf.so.0
${LN} -sf libcdf.so.0 ${STAGEDIR}${PREFIX}/lib/libcdf.so
-.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}
-.endif
regression-test:
(cd ${BUILD_WRKSRC} ; \