summaryrefslogtreecommitdiff
path: root/math/gnuplot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/gnuplot/Makefile')
-rw-r--r--math/gnuplot/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile
index 7dffd759f253..555f72cbc02a 100644
--- a/math/gnuplot/Makefile
+++ b/math/gnuplot/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gnuplot
-PORTVERSION= 4.2.2
-PORTREVISION= 1
+PORTVERSION= 4.2.3
CATEGORIES= math graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -107,10 +106,12 @@ post-build:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/demo && ${FIND} . \
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
+.endif
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/psdoc
cd ${WRKSRC}/docs && ${INSTALL_DATA} gnuplot.txt gnuplot.dvi \
gnuplot.ps ${DOCSDIR}