aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorchuckr <chuckr@FreeBSD.org>2000-01-24 06:49:30 +0800
committerchuckr <chuckr@FreeBSD.org>2000-01-24 06:49:30 +0800
commit12a4c79b8973005ca1a527de453236a8f8837133 (patch)
treed9762661345f4ffc5da98cfd50af543ad3a683a0 /math
parent6ad022804df66aa4cfe4e3d3feef4b1ec73b5d59 (diff)
downloadfreebsd-ports-gnome-12a4c79b8973005ca1a527de453236a8f8837133.tar.gz
freebsd-ports-gnome-12a4c79b8973005ca1a527de453236a8f8837133.tar.zst
freebsd-ports-gnome-12a4c79b8973005ca1a527de453236a8f8837133.zip
Install the demos (and a README) with gnunplot. Nice demos, worth it.
Submitted by: Ilia Chipitsine <ilia@cgilh.chel.su>
Diffstat (limited to 'math')
-rw-r--r--math/gnuplot/Makefile5
-rw-r--r--math/gnuplot/files/README6
-rw-r--r--math/gnuplot/pkg-plist68
3 files changed, 79 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>
diff --git a/math/gnuplot/files/README b/math/gnuplot/files/README
new file mode 100644
index 000000000000..8fd310d0016c
--- /dev/null
+++ b/math/gnuplot/files/README
@@ -0,0 +1,6 @@
+There are two sets of demos available.
+
+Enter "gnuplot simple.dem" for the short demo, or
+ "gnuplot all.dem" for the whole show.
+
+All demos are interactive, and prompt for "Hit a return to continue".
diff --git a/math/gnuplot/pkg-plist b/math/gnuplot/pkg-plist
index ba88941490c6..21fbdf3402b2 100644
--- a/math/gnuplot/pkg-plist
+++ b/math/gnuplot/pkg-plist
@@ -2,3 +2,71 @@ bin/lasergnu
bin/gnuplot
bin/gnuplot_x11
share/gnuplot.gih
+share/doc/gnuplot/1.dat
+share/doc/gnuplot/2.dat
+share/doc/gnuplot/3.dat
+share/doc/gnuplot/airfoil.dem
+share/doc/gnuplot/all.dem
+share/doc/gnuplot/animate.dem
+share/doc/gnuplot/battery.dat
+share/doc/gnuplot/big_peak.dat
+share/doc/gnuplot/binary.dem
+share/doc/gnuplot/bivariat.dem
+share/doc/gnuplot/borders.dem
+share/doc/gnuplot/contours.dem
+share/doc/gnuplot/controls.dem
+share/doc/gnuplot/density.fnc
+share/doc/gnuplot/discrete.dem
+share/doc/gnuplot/electron.dem
+share/doc/gnuplot/fit.dem
+share/doc/gnuplot/fit.log
+share/doc/gnuplot/glass.dat
+share/doc/gnuplot/gnuplot.rot
+share/doc/gnuplot/hemisphr.dat
+share/doc/gnuplot/hexa.fnc
+share/doc/gnuplot/hidden.dem
+share/doc/gnuplot/klein.dat
+share/doc/gnuplot/lcdemo.dat
+share/doc/gnuplot/line.fnc
+share/doc/gnuplot/mgr.dem
+share/doc/gnuplot/moli3.dat
+share/doc/gnuplot/multimsh.dem
+share/doc/gnuplot/multiplt.dem
+share/doc/gnuplot/param.dem
+share/doc/gnuplot/polar.dem
+share/doc/gnuplot/poldat.dem
+share/doc/gnuplot/prob.dem
+share/doc/gnuplot/prob2.dem
+share/doc/gnuplot/random.dem
+share/doc/gnuplot/reflect.fnc
+share/doc/gnuplot/reread.bor
+share/doc/gnuplot/scatter.dem
+share/doc/gnuplot/scatter2.dat
+share/doc/gnuplot/silver.dat
+share/doc/gnuplot/simple.dem
+share/doc/gnuplot/singulr.dem
+share/doc/gnuplot/sound.par
+share/doc/gnuplot/sound2.par
+share/doc/gnuplot/soundfit.par
+share/doc/gnuplot/soundvel.dat
+share/doc/gnuplot/spline.dem
+share/doc/gnuplot/start.par
+share/doc/gnuplot/stat.inc
+share/doc/gnuplot/steps.dat
+share/doc/gnuplot/steps.dem
+share/doc/gnuplot/surface1.dem
+share/doc/gnuplot/surface2.dem
+share/doc/gnuplot/timedat.dat
+share/doc/gnuplot/timedat.dem
+share/doc/gnuplot/using.dat
+share/doc/gnuplot/using.dem
+share/doc/gnuplot/vector.dem
+share/doc/gnuplot/whale.dat
+share/doc/gnuplot/world.cor
+share/doc/gnuplot/world.dat
+share/doc/gnuplot/world.dem
+share/doc/gnuplot/binary1
+share/doc/gnuplot/binary2
+share/doc/gnuplot/binary3
+share/doc/gnuplot/README
+@dirrm share/doc/gnuplot