Hi ports --

Attached is a diff to update math/gnuplot to its latest version.
Release notes:
http://www.gnuplot.info/ReleaseNotes_5_0_6.html

Note that the emacs files are now maintained as a separate project. I can make a port of this if desired but I don't use it.

make test passes with the default FLAVOR, make package with no_x11 and no_cairo FLAVORS tested only.

Take maintainer.

~Brian

Index: Makefile
===================================================================
RCS file: /cvs/ports/math/gnuplot/Makefile,v
retrieving revision 1.63
diff -u -p -u -p -r1.63 Makefile
--- Makefile	15 May 2017 19:56:03 -0000	1.63
+++ Makefile	10 Jun 2017 20:15:52 -0000
@@ -2,22 +2,22 @@
 
 COMMENT =	command-driven interactive function plotting program
 
-V =		4.6
+V =		5.0
 PATCHLEVEL =	6
-REVISION =	1
 DISTNAME =	gnuplot-${V}.${PATCHLEVEL}
 CATEGORIES =	math graphics
 MASTER_SITES =	${MASTER_SITE_SOURCEFORGE:=gnuplot/}
 
 HOMEPAGE =	http://www.gnuplot.info/
+MAINTAINER =	Brian Callahan <[email protected]>
 
 # see Copyright in source
 # http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright
 PERMIT_PACKAGE_CDROM =	Yes
 
-WANTLIB += c m ncurses readline ${LIBCXX} z
+WANTLIB += c cerf m ncurses readline ${LIBCXX} z
 
-BUILD_DEPENDS =	emacs->=24:editors/emacs
+LIB_DEPENDS =	math/libcerf
 
 FLAVORS =	no_cairo no_x11
 FLAVOR ?=
@@ -27,14 +27,15 @@ CONFIGURE_ARGS =	--without-linux-vga \
 			--without-latex \
 			--without-tutorial \
 			--with-readline \
-			--with-lasergnu \
 			--disable-wxwidgets \
-			--disable-qt \
+			--with-qt=no \
 			--without-lua \
 			--without-pdf
 CONFIGURE_ENV =		CPPFLAGS="-I${LOCALBASE}/include" \
 			LDFLAGS="-L${LOCALBASE}/lib"
 
+USE_GMAKE =		Yes
+
 FAKE_FLAGS =		appdefaultdir="${PREFIX}/lib/X11/app-defaults/"
 
 TEST_IS_INTERACTIVE =	x11
@@ -54,12 +55,9 @@ CONFIGURE_ARGS += --with-x
 CONFIGURE_ARGS += --without-cairo
 .else
 LIB_DEPENDS +=	devel/gettext \
-		devel/pango	\
+		devel/pango \
 		graphics/cairo
 WANTLIB +=	cairo gobject-2.0 glib-2.0 intl pango-1.0 pangocairo-1.0
 .endif
-
-post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${PREFIX}/bin/lasergnu
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/gnuplot/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo	3 Jun 2015 07:28:28 -0000	1.14
+++ distinfo	10 Jun 2017 20:15:52 -0000
@@ -1,2 +1,2 @@
-SHA256 (gnuplot-4.6.6.tar.gz) = HxlZb9CQRfIiJa+/7BH6kbmtHZW59IQGNi9RfU8TAnQ=
-SIZE (gnuplot-4.6.6.tar.gz) = 5059214
+SHA256 (gnuplot-5.0.6.tar.gz) = W75HE+VVwuEDt9T/1F/KaVUf/wnPXD+csXQoqqzJtGA=
+SIZE (gnuplot-5.0.6.tar.gz) = 5093897
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/math/gnuplot/pkg/PLIST,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 PLIST
--- pkg/PLIST	3 Jun 2015 07:28:28 -0000	1.18
+++ pkg/PLIST	10 Jun 2017 20:15:52 -0000
@@ -1,12 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.18 2015/06/03 07:28:28 pirofti Exp $
 @bin bin/gnuplot
-bin/lasergnu
+@man man/man1/gnuplot-ja.1
 @man man/man1/gnuplot.1
-@man man/man1/lasergnu.1
-share/emacs/site-lisp/gnuplot-gui.el
-share/emacs/site-lisp/gnuplot-gui.elc
-share/emacs/site-lisp/gnuplot.el
-share/emacs/site-lisp/gnuplot.elc
 share/gnuplot/
 !%%no_x11%%
 share/gnuplot/${V}/
@@ -18,6 +13,7 @@ share/gnuplot/${V}/PostScript/8859-9.ps
 share/gnuplot/${V}/PostScript/aglfn.txt
 share/gnuplot/${V}/PostScript/cp1250.ps
 share/gnuplot/${V}/PostScript/cp1251.ps
+share/gnuplot/${V}/PostScript/cp1252.ps
 share/gnuplot/${V}/PostScript/cp437.ps
 share/gnuplot/${V}/PostScript/cp850.ps
 share/gnuplot/${V}/PostScript/cp852.ps
@@ -29,7 +25,6 @@ share/gnuplot/${V}/colors_default.gp
 share/gnuplot/${V}/colors_mono.gp
 share/gnuplot/${V}/colors_podo.gp
 share/gnuplot/${V}/gnuplot.gih
-share/gnuplot/${V}/gnuplot.pdf
 share/gnuplot/${V}/gnuplotrc
 share/gnuplot/${V}/js/
 share/gnuplot/${V}/js/README
@@ -44,6 +39,7 @@ share/gnuplot/${V}/js/grid.png
 share/gnuplot/${V}/js/help.png
 share/gnuplot/${V}/js/nextzoom.png
 share/gnuplot/${V}/js/previouszoom.png
+share/gnuplot/${V}/js/return.png
 share/gnuplot/${V}/js/textzoom.png
 share/gnuplot/${V}/lua/
 share/gnuplot/${V}/lua/gnuplot-tikz.lua

Reply via email to