aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/SciPlot
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-04 08:09:47 +0800
committeradamw <adamw@FreeBSD.org>2014-07-04 08:09:47 +0800
commit8c1f5c8be901fc3a33720a12ff6eb036b5908767 (patch)
tree3645a10ed72391740d754f21302e9a7bd1e2f8ed /graphics/SciPlot
parente198670a20bdb15ca6c0680cc2882da2d1ab6db8 (diff)
downloadfreebsd-ports-gnome-8c1f5c8be901fc3a33720a12ff6eb036b5908767.tar.gz
freebsd-ports-gnome-8c1f5c8be901fc3a33720a12ff6eb036b5908767.tar.zst
freebsd-ports-gnome-8c1f5c8be901fc3a33720a12ff6eb036b5908767.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'graphics/SciPlot')
-rw-r--r--graphics/SciPlot/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/SciPlot/Makefile b/graphics/SciPlot/Makefile
index c78cc20899f2..aa3769232df5 100644
--- a/graphics/SciPlot/Makefile
+++ b/graphics/SciPlot/Makefile
@@ -26,6 +26,8 @@ PORTDOCS= README SciPlot.html SciPlotDemo.html SciPlotProg.html
EXDATA= data.txt
EXBINS= realtime sciplot
+OPTIONS_DEFINE= DOCS EXAMPLES
+
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
${INSTALL_DATA} ${INCLUDES:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
@@ -34,14 +36,10 @@ do-install:
${LN} -sf ${LIBNAME}.so.0 ${STAGEDIR}${PREFIX}/lib/${LIBNAME}.so
post-install:
-.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${EXDATA:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_PROGRAM} ${EXBINS:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
-.endif
.include <bsd.port.mk>