[43873] trunk/dports/x11/grace/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Dec 16 00:39:36 PST 2008


Revision: 43873
          http://trac.macports.org/changeset/43873
Author:   jeremyhu at macports.org
Date:     2008-12-16 00:39:35 -0800 (Tue, 16 Dec 2008)
Log Message:
-----------
grace: builds parallel, detects Leopard's X11, updated X11 dependencies, accept lesstif for libXm dependency.

Modified Paths:
--------------
    trunk/dports/x11/grace/Portfile

Modified: trunk/dports/x11/grace/Portfile
===================================================================
--- trunk/dports/x11/grace/Portfile	2008-12-16 08:26:04 UTC (rev 43872)
+++ trunk/dports/x11/grace/Portfile	2008-12-16 08:39:35 UTC (rev 43873)
@@ -5,12 +5,13 @@
 
 name			    grace
 version			    5.1.22
-revision		    1
+revision		    2
 categories		    x11 math science print
 platforms		    darwin
 maintainers		    nomaintainer
 description		    WYSIWYG tool to make two-dimensional plots of numerical data
 long_description	${description}
+use_parallel_build	yes
 
 homepage		    http://plasma-gate.weizmann.ac.il/Grace/
 set sub			    grace/src/stable
@@ -25,18 +26,26 @@
                     sha1 3ce88c7c264d2de73b8935f835a1c1f8e368c78f \
                     rmd160 ca7b1abe240de7cd3dbdc52d5182020c410b9772 
 
-depends_lib		    lib:libX11.6:XFree86 \
-				    port:openmotif \
-				    port:libpng \
-				    port:pdflib \
-				    port:jpeg \
-				    port:zlib
+depends_lib \
+	lib:libXmu.6:xorg-libXmu \
+	lib:libXp.6:xorg-libXp \
+	lib:libXpm.4:xpm \
+	port:libpng \
+	lib:libXm:openmotif \
+	port:pdflib \
+	port:jpeg \
+	port:zlib
 
+
 patchfiles          patch-configure.diff
 
 configure.pre_args	--prefix=${prefix}/lib \
                     --with-helpviewer="open ${prefix}/share/doc/${name}/`basename %s`"
 
+# autoreconfing to pick up X11 is not playing nicely, so do this instead.  hopefully upsteream will use a newer autoconf next time...
+configure.cppflags-append -I${x11prefix}/include
+configure.ldflags-append -L${x11prefix}/lib
+
 post-destroot {
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc
 	file delete ${destroot}${prefix}/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081216/dd8150d5/attachment.html>


More information about the macports-changes mailing list