diff options
author | glewis <glewis@FreeBSD.org> | 2017-01-03 09:14:55 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2017-01-03 09:14:55 +0800 |
commit | 47a68758165f57bb7742a487f7529af188a3ba6f (patch) | |
tree | d6525b45f61e604b59137a86bca22155270a6e5a /math/gnuplot | |
parent | 1704954480df84937044f1a8276466a0852be560 (diff) | |
download | freebsd-ports-gnome-47a68758165f57bb7742a487f7529af188a3ba6f.tar.gz freebsd-ports-gnome-47a68758165f57bb7742a487f7529af188a3ba6f.tar.zst freebsd-ports-gnome-47a68758165f57bb7742a487f7529af188a3ba6f.zip |
. Turn gnuplotrc into a sample to avoid complaints if one customises it.
PR: 215538
Submitted by: rsmith@xs4all.nl
Diffstat (limited to 'math/gnuplot')
-rw-r--r-- | math/gnuplot/Makefile | 6 | ||||
-rw-r--r-- | math/gnuplot/pkg-plist | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile index d18d56f6e7e0..9625bfc8e848 100644 --- a/math/gnuplot/Makefile +++ b/math/gnuplot/Makefile @@ -2,6 +2,7 @@ PORTNAME= gnuplot PORTVERSION= 5.0.5 +PORTREVISION= 1 CATEGORIES= math graphics MASTER_SITES= SF @@ -87,6 +88,11 @@ post-build: @cd ${WRKSRC}/docs && ${MAKE} groff .endif +pre-install: + ${MKDIR} ${STAGEDIR}${DATADIR}/5.0 ; \ + ${INSTALL_DATA} ${WRKSRC}/share/gnuplotrc \ + ${STAGEDIR}${DATADIR}/5.0/gnuplotrc.sample + post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} diff --git a/math/gnuplot/pkg-plist b/math/gnuplot/pkg-plist index 3f6b8a849f88..39a8cdd9a8c3 100644 --- a/math/gnuplot/pkg-plist +++ b/math/gnuplot/pkg-plist @@ -22,7 +22,6 @@ man/man1/gnuplot.1.gz %%DATADIR%%/5.0/colors_mono.gp %%DATADIR%%/5.0/colors_podo.gp %%DATADIR%%/5.0/gnuplot.gih -%%DATADIR%%/5.0/gnuplotrc %%DATADIR%%/5.0/js/README %%DATADIR%%/5.0/js/canvasmath.js %%DATADIR%%/5.0/js/canvastext.js @@ -38,3 +37,4 @@ man/man1/gnuplot.1.gz %%DATADIR%%/5.0/js/return.png %%DATADIR%%/5.0/js/textzoom.png %%DATADIR%%/5.0/lua/gnuplot-tikz.lua +@sample %%DATADIR%%/5.0/gnuplotrc.sample |