aboutsummaryrefslogtreecommitdiff
path: root/graphics/SciPlot/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:09:47 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:09:47 +0000
commitde494a80910bba9be314cb2d32f0c7e07de7b33f (patch)
tree3645a10ed72391740d754f21302e9a7bd1e2f8ed /graphics/SciPlot/Makefile
parentac9d42d09cab6b10f5e477912a5983632bb16014 (diff)
downloadports-de494a80910bba9be314cb2d32f0c7e07de7b33f.tar.gz
ports-de494a80910bba9be314cb2d32f0c7e07de7b33f.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Notes
Notes: svn path=/head/; revision=360491
Diffstat (limited to 'graphics/SciPlot/Makefile')
-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>