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

pguyot at kallisys.net pguyot at kallisys.net
Sun Feb 24 22:07:06 PST 2008


Revision: 34444
          http://trac.macosforge.org/projects/macports/changeset/34444
Author:   pguyot at kallisys.net
Date:     2008-02-24 22:07:05 -0800 (Sun, 24 Feb 2008)

Log Message:
-----------
math/gnuplot: made tex dependency optional with a new tutorial variant

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

Modified: trunk/dports/math/gnuplot/Portfile
===================================================================
--- trunk/dports/math/gnuplot/Portfile	2008-02-25 02:32:17 UTC (rev 34443)
+++ trunk/dports/math/gnuplot/Portfile	2008-02-25 06:07:05 UTC (rev 34444)
@@ -1,8 +1,10 @@
 # $Id$
+
 PortSystem 1.0
 
 name			gnuplot
 version			4.2.2
+revision		1
 categories		math science
 maintainers		pguyot at kallisys.net
 description		A command-driven interactive function plotting program
@@ -37,7 +39,6 @@
 				port:libpng \
 				port:ncurses \
 				port:readline \
-				bin:tex:texlive_base \
 				lib:libX11.6:XFree86 \
 				port:zlib
 
@@ -67,6 +68,12 @@
 	configure.args-append	--with-wx-config=${prefix}/bin/wx-config
 }
 
+variant tutorial description "Build the tutorial (requires a tex install)" {
+	depends_lib-append		bin:tex:texlive_base
+	configure.args-delete	--without-tutorial
+	configure.args-append	--with-tutorial
+}
+
 destroot.destdir	prefix=${destroot}${prefix}
 post-destroot {
 	xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}

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


More information about the macports-changes mailing list