Ticket #991: patch-gnuplot

File patch-gnuplot, 2.0 KB (added by fkr@…, 21 years ago)

suggested update

Line 
1Index: Portfile
2===================================================================
3RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/math/gnuplot/Portfile,v
4retrieving revision 1.7
5diff -u -r1.7 Portfile
6--- Portfile    5 Aug 2003 21:02:24 -0000       1.7
7+++ Portfile    30 Oct 2003 20:14:23 -0000
8@@ -3,29 +3,30 @@
9 PortSystem 1.0
10 name           gnuplot
11 version                3.8h.0
12-revision       0
13 categories     math science
14-maintainers    jpm@opendarwin.org
15+maintainers    mdales@opendarwin.org jpm@opendarwin.org
16 description    A command-driven interactive function plotting program
17 long_description       Gnuplot is a command-driven interactive function \
18-       plotting program. Plots any number of functions, built up of C \
19-       operators, C library functions, and some things C doesn't have like \
20-       **, sgn(), etc.  Also support for plotting data files, to compare \
21-       actual data to theoretical curves.
22+                       plotting program. Plots any number of functions, built up of C \
23+                       operators, C library functions, and some things C doesn't have like \
24+                       **, sgn(), etc.  Also support for plotting data files, to compare \
25+                       actual data to theoretical curves.
26 platforms      darwin
27 master_sites   http://www.ctan.org/tex-archive/graphics/gnuplot/testing/
28 checksums      md5     0058a1a9a33fee94750c436562d297b4
29 depends_lib    lib:libgd:gd lib:libreadline:readline
30 patchfiles     patch-term.h
31 configure.env  LDFLAGS="-L${prefix}/lib" \
32-       CPPFLAGS="-I${prefix}/include -no-cpp-precomp"
33-configure.args --with-readline=gnu --with-gd --without-x
34+                       CPPFLAGS="-I${prefix}/include -no-cpp-precomp"
35+configure.args --with-readline=gnu --with-gd --with-x
36 destroot.destdir prefix=${destroot}${prefix}
37 
38-variant x11 {
39+variant no_x11 {
40        depends_lib     lib:libX11.6:XFree86 lib:libgd:gd lib:libreadline:readline
41-       configure.args  --with-readline=gnu --with-gd --with-x
42+       configure.args-delete   --with-x
43+       configure.args-append   --without-x
44 }
45+
46 #variant aqua {
47 #      depends_lib     lib:libpng:libpng lib:libreadline:readline
48 #      depends_build   path:/${prefix}/share/aquaterm/gnuplot/aquaTerm.trm:aquaterm