[24045] trunk/dports/math/gnuplot/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Apr 15 02:35:08 PDT 2007


Revision: 24045
          http://trac.macosforge.org/projects/macports/changeset/24045
Author:   pguyot at kallisys.net
Date:     2007-04-15 02:35:07 -0700 (Sun, 15 Apr 2007)

Log Message:
-----------
math/gnuplot: update to 4.2.0, add livecheck

Modified Paths:
--------------
    trunk/dports/math/gnuplot/Portfile

Modified: trunk/dports/math/gnuplot/Portfile
===================================================================
--- trunk/dports/math/gnuplot/Portfile	2007-04-15 09:14:18 UTC (rev 24044)
+++ trunk/dports/math/gnuplot/Portfile	2007-04-15 09:35:07 UTC (rev 24045)
@@ -2,8 +2,7 @@
 PortSystem 1.0
 
 name			gnuplot
-version			4.0.0
-revision		4
+version			4.2.0
 categories		math science
 maintainers		pguyot at kallisys.net
 description		A command-driven interactive function plotting program
@@ -15,54 +14,47 @@
 					actual data to theoretical curves.
 platforms		darwin
 homepage		http://gnuplot.sourceforge.net/
-master_sites	ftp://ftp.gnuplot.info/pub/gnuplot/ sourceforge
-patch_sites		http://www.bmsc.washington.edu/people/merritt/gnuplot/ \
-				http://www.opendarwin.org/~pguyot/distfiles/
+master_sites	sourceforge
 distfiles		${distname}.tar.gz \
-				${name}.pdf.gz gpcard.pdf
+				${name}.pdf
 extract.only	${distname}.tar.gz
-checksums		${distname}.tar.gz md5 66258443d9f93cc4f46b147dac33e63a \
-				${name}.pdf.gz md5 51c6d737bf76c18db844c96bc27e22c6 \
-				gpcard.pdf md5 3042331d0801c31bf423428d9be66924 \
-				datastrings_4.0.patch md5 7d2c4015f15f96e3a0f8063c2199ab6f \
-				datastrings_4.0.patch sha1 2120db8d3c3ca9f084b46a573e944e06556c855a \
-				datastrings_4.0.patch rmd160 600f404d6a46bab736db44b1f99d93443896b0c3 \
-				histograms_4.0.patch md5 ba87f28e4aed68637e7b5160e7151919 \
-				histograms_4.0.patch sha1 f75be94691af021e9d5eeeaaf707a09eb1d19ae6 \
-				histograms_4.0.patch rmd160 ae51ca48deda330953fdb521835601b9e68c544a
+checksums		${distname}.tar.gz \
+					md5 f688a578ddb4c376fd7d91ce444a0745 \
+					sha1 867e010ba23346d472e0afdf997edeb6e5ddd585 \
+					rmd160 1d31a40796f5c2474473afbe5c6d667d7d97c91c \
+				${name}.pdf \
+					md5 0691424fd274b65eb8a8ab0dc52dbabe \
+					sha1 8926d4cb9a1e2f71f95f69fad65473889f08638f \
+					rmd160 6d92f3473b0896598436e6c993e56e5167b94af5
 
-depends_lib		lib:libgd.2:gd2 \
-				lib:libjpeg.62:jpeg \
-				lib:libpdf.5:pdflib \
-				lib:libpng12.0:libpng \
-				lib:libreadline.5:readline \
+depends_lib		port:expat \
+				port:fontconfig \
+				port:freetype \
+				port:gd2 \
+				port:jpeg \
+				port:pdflib \
+				port:libiconv \
+				port:libpng \
+				port:ncurses \
+				port:readline \
+				port:teTeX \
 				lib:libX11.6:XFree86 \
-				lib:libz.1:zlib
+				port:zlib
 
-patchfiles		patch-term-pdf.trm \
-				patch-term-tkcanvas.trm \
-				datastrings_4.0.patch  \
-				histograms_4.0.patch
-patch.pre_args	-p1
+patchfiles		patch-share-LaTeX-Makefile.in
 
-# Patches require to run autoconf.
-use_autoconf	yes
-
-platform darwin 8 {
-	patchfiles-append	patch-src-gplt_x11.c
-}
-
 platform darwin {
-	depends_lib-append	lib:libaquaterm.1:aquaterm
+	depends_lib-append		lib:libaquaterm.1:aquaterm
+	configure.env-append	CFLAGS='-DDEFAULTTERM=\\"aqua\\"'
 }
 
 configure.env	LDFLAGS="-L${prefix}/lib" \
-				CPPFLAGS="-I${prefix}/include -no-cpp-precomp" \
-				CFLAGS='-DDEFAULTTERM=\\"aqua\\"'
+				CPPFLAGS="-I${prefix}/include -no-cpp-precomp"
 configure.args	--with-readline=gnu --with-gd --with-png --with-pdf --with-x \
 				--enable-datastrings --enable-histograms \
 				--infodir='\${prefix}/share/info' \
-				--mandir='\${prefix}/share/man'
+				--mandir='\${prefix}/share/man' \
+				--disable-wxwidgets
 
 variant no_x11 {
 	depends_lib-delete		lib:libX11.6:XFree86
@@ -70,12 +62,15 @@
 	configure.args-append	--without-x
 }
 
+variant wxwidgets {
+	depends_lib-append		port:wxWidgets
+	configure.args-delete	--disable-wxwidgets
+	configure.args-append	--with-wx-config=${prefix}/bin/wx-config
+}
+
 destroot.destdir	prefix=${destroot}${prefix}
 post-destroot {
 	xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
-	system "gunzip -v -c ${distpath}/gnuplot.pdf.gz \
-		>${destroot}${prefix}/share/doc/${name}/gnuplot.pdf"
-	xinstall -m 0644 ${distpath}/gpcard.pdf \
-		${destroot}${prefix}/share/doc/${name}
+	xinstall -m 0644 ${distpath}/gnuplot.pdf \
+		${destroot}${prefix}/share/doc/${name}/
 }
-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070415/b22d24b3/attachment.html


More information about the macports-changes mailing list