Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2017 01:14:55 +0000 (UTC)
From:      Greg Lewis <glewis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430431 - head/math/gnuplot
Message-ID:  <201701030114.v031Et43000818@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glewis
Date: Tue Jan  3 01:14:55 2017
New Revision: 430431
URL: https://svnweb.freebsd.org/changeset/ports/430431

Log:
  . Turn gnuplotrc into a sample to avoid complaints if one customises it.
  
  PR:		215538
  Submitted by:	rsmith@xs4all.nl

Modified:
  head/math/gnuplot/Makefile
  head/math/gnuplot/pkg-plist

Modified: head/math/gnuplot/Makefile
==============================================================================
--- head/math/gnuplot/Makefile	Tue Jan  3 01:14:15 2017	(r430430)
+++ head/math/gnuplot/Makefile	Tue Jan  3 01:14:55 2017	(r430431)
@@ -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}

Modified: head/math/gnuplot/pkg-plist
==============================================================================
--- head/math/gnuplot/pkg-plist	Tue Jan  3 01:14:15 2017	(r430430)
+++ head/math/gnuplot/pkg-plist	Tue Jan  3 01:14:55 2017	(r430431)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701030114.v031Et43000818>