- update gnuplot to 4.4.2

- remove maintainer after various time-outs

joint work with patrick keshishian
This commit is contained in:
jasper 2011-01-06 23:45:07 +00:00
parent d472060283
commit 230ffe6536
6 changed files with 103 additions and 47 deletions

View File

@ -1,50 +1,66 @@
# $OpenBSD: Makefile,v 1.45 2010/11/22 10:16:08 espie Exp $
# $OpenBSD: Makefile,v 1.46 2011/01/06 23:45:07 jasper Exp $
COMMENT= command-driven interactive function plotting program
COMMENT = command-driven interactive function plotting program
V= 4.2
PATCHLEVEL= 6
DISTNAME= gnuplot-${V}.${PATCHLEVEL}
CATEGORIES= math graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/}
V = 4.4
PATCHLEVEL = 2
DISTNAME = gnuplot-${V}.${PATCHLEVEL}
CATEGORIES = math graphics
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=gnuplot/}
HOMEPAGE= http://www.gnuplot.info/
MAINTAINER= Weldon Goree <wgoree@bu.edu>
HOMEPAGE = http://www.gnuplot.info/
# see Copyright in source
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB= c m ncurses readline stdc++ z
WANTLIB = c m ncurses readline stdc++ termcap z
FLAVORS= no_x11
FLAVOR?=
FLAVORS = no_cairo no_x11
FLAVOR ?=
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-linux-vga --without-pdf \
--without-tutorial --with-readline \
--with-lasergnu --disable-wxwidgets --without-lisp-files
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --without-linux-vga \
--without-latex \
--without-tutorial \
--with-readline \
--with-lasergnu \
--disable-wxwidgets \
--disable-lua \
--without-lisp-files
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
REGRESS_IS_INTERACTIVE= x11
FAKE_FLAGS = appdefaultdir="${PREFIX}/lib/X11/app-defaults/"
SUBST_VARS= V
REGRESS_IS_INTERACTIVE = x11
SUBST_VARS = V
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS += --without-x --without-gd
CONFIGURE_ARGS += --without-x \
--without-gd
.else
LIB_DEPENDS = graphics/gd
LIB_DEPENDS += graphics/gd
USE_GROFF = Yes
WANTLIB += X11 fontconfig freetype iconv jpeg png gd>=20
CONFIGURE_ARGS += --with-x
.endif
.if ${FLAVOR:L:Mno_cairo} || ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS += --without-cairo
.else
LIB_DEPENDS += devel/pango \
graphics/cairo
WANTLIB += GL Xau Xdamage Xdmcp Xext Xfixes Xrender Xxf86vm drm \
expat gmodule-2.0 gobject-2.0 gthread-2.0 intl pixman-1 \
pthread pthread-stubs xcb xcb-render xcb-shm \
pangocairo-1.0 cairo glib-2.0 pango-1.0 pangoft2-1.0
.endif
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${PREFIX}/bin/lasergnu
-cat ${PATCHDIR}/patch-* >${PREFIX}/share/gnuplot/${V}/patches
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (gnuplot-4.2.6.tar.gz) = wQRo10Aw6L7Q/WhlpFzx/Q==
RMD160 (gnuplot-4.2.6.tar.gz) = Oxcm5TJ7F7t7UoGY5ioSuf4+WnY=
SHA1 (gnuplot-4.2.6.tar.gz) = 0R/d6CGL7phZfug2y8F+S/YJO3A=
SHA256 (gnuplot-4.2.6.tar.gz) = gfvC62B3vWq/6YxcgqrhSiyXBHPuTCw3dD/zseKqjoI=
SIZE (gnuplot-4.2.6.tar.gz) = 2936753
MD5 (gnuplot-4.4.2.tar.gz) = pPDdifm5M0iQRk9ofd2fUA==
RMD160 (gnuplot-4.4.2.tar.gz) = B31tNT4DcNH4RjaTOAAwci9Xia8=
SHA1 (gnuplot-4.4.2.tar.gz) = NWZr4i6Het5eJyGZ09gVVcFBzvU=
SHA256 (gnuplot-4.4.2.tar.gz) = N+jI1IOPuEo62XpsSCPwhrkpyxjWYTotDoInzg1N6eQ=
SIZE (gnuplot-4.4.2.tar.gz) = 3299690

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-docs_Makefile_in,v 1.1 2011/01/06 23:45:07 jasper Exp $
--- docs/Makefile.in.orig Thu Jan 6 21:40:56 2011
+++ docs/Makefile.in Thu Jan 6 21:41:06 2011
@@ -79,7 +79,7 @@ CFLAGS = @CFLAGS@
GIHDIR = @GIHDIR@
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/term
LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
+LIBS = @LIBS@ -ltermcap
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-share_Makefile_in,v 1.4 2009/10/07 20:01:07 sthen Exp $
--- share/Makefile.in.orig Thu Sep 3 04:03:46 2009
+++ share/Makefile.in Wed Sep 30 14:39:48 2009
@@ -194,7 +194,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign 1.2h
EXTRA_DIST = Gnuplot.app-defaults
-SUBDIRS = LaTeX
+SUBDIRS =
appdefaultdir = $(libdir)/X11/app-defaults
APPDEFAULTFILES = Gnuplot
appdefault_DATA = $(APPDEFAULTFILES)

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-src_Makefile_in,v 1.1 2011/01/06 23:45:07 jasper Exp $
--- src/Makefile.in.orig Thu Jan 6 21:38:39 2011
+++ src/Makefile.in Thu Jan 6 21:40:48 2011
@@ -205,9 +205,9 @@ GDLIB_CONFIG = @GDLIB_CONFIG@
GIHDIR = @GIHDIR@
GREP = @GREP@
GTK28_CFLAGS = @GTK28_CFLAGS@
-GTK28_LIBS = @GTK28_LIBS@
+GTK28_LIBS = @GTK28_LIBS@
GTK_CFLAGS = @GTK_CFLAGS@
-GTK_LIBS = @GTK_LIBS@
+GTK_LIBS = @GTK_LIBS@ -ltermcap
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -219,7 +219,7 @@ LATEX = @LATEX@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBRARIES_FOR_X = @LIBRARIES_FOR_X@
-LIBS = @LIBS@
+LIBS = @LIBS@ -ltermcap
LINUXSUID = @LINUXSUID@
LISPDIR = @LISPDIR@
LN_S = @LN_S@

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.14 2009/04/19 15:06:50 steven Exp $
@comment $OpenBSD: PLIST,v 1.15 2011/01/06 23:45:07 jasper Exp $
@bin bin/gnuplot
bin/lasergnu
@info info/gnuplot.info
@ -10,6 +10,8 @@ share/gnuplot/${V}/PostScript/
share/gnuplot/${V}/PostScript/8859-1.ps
share/gnuplot/${V}/PostScript/8859-15.ps
share/gnuplot/${V}/PostScript/8859-2.ps
share/gnuplot/${V}/PostScript/8859-9.ps
share/gnuplot/${V}/PostScript/aglfn.txt
share/gnuplot/${V}/PostScript/cp1250.ps
share/gnuplot/${V}/PostScript/cp437.ps
share/gnuplot/${V}/PostScript/cp850.ps
@ -17,6 +19,20 @@ share/gnuplot/${V}/PostScript/cp852.ps
share/gnuplot/${V}/PostScript/koi8r.ps
share/gnuplot/${V}/PostScript/koi8u.ps
share/gnuplot/${V}/PostScript/prologue.ps
share/gnuplot/${V}/PostScript/utf-8.ps
share/gnuplot/${V}/gnuplot.gih
share/gnuplot/${V}/patches
share/gnuplot/${V}/js/
share/gnuplot/${V}/js/README
share/gnuplot/${V}/js/canvasmath.js
share/gnuplot/${V}/js/canvastext.js
share/gnuplot/${V}/js/gnuplot_common.js
share/gnuplot/${V}/js/gnuplot_mouse.css
share/gnuplot/${V}/js/gnuplot_mouse.js
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/textzoom.png
share/gnuplot/${V}/lua/
share/gnuplot/${V}/lua/gnuplot-tikz.lua
!%%no_x11%%