summaryrefslogtreecommitdiff
path: root/math/gnuplot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/gnuplot/Makefile')
-rw-r--r--math/gnuplot/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile
index 1c31cf22fe03..87ffde66a230 100644
--- a/math/gnuplot/Makefile
+++ b/math/gnuplot/Makefile
@@ -25,6 +25,11 @@ CONFIGURE_ARGS= --exec-prefix=${PREFIX} \
--with-gd=${LOCALBASE}/lib \
--with-gnu-readline --with-lasergnu --with-png
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/gnuplot
+ (cd ${WRKSRC}/demo;for EXAMPLES in ${WRKSRC}/demo/*; do ${INSTALL_DATA} $${EXAMPLES} ${PREFIX}/share/doc/gnuplot;done)
+ ${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/doc/gnuplot
+
MAN1= gnuplot.1 lasergnu.1
.include <bsd.port.mk>