[43029] trunk/dports/x11/xpm/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Dec 3 13:30:44 PST 2008


Revision: 43029
          http://trac.macports.org/changeset/43029
Author:   jeremyhu at macports.org
Date:     2008-12-03 13:30:44 -0800 (Wed, 03 Dec 2008)
Log Message:
-----------
xpm: Version bump and build universal

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

Modified: trunk/dports/x11/xpm/Portfile
===================================================================
--- trunk/dports/x11/xpm/Portfile	2008-12-03 21:14:48 UTC (rev 43028)
+++ trunk/dports/x11/xpm/Portfile	2008-12-03 21:30:44 UTC (rev 43029)
@@ -3,23 +3,42 @@
 PortSystem 1.0
 
 name		xpm
-version		3.4k
+version		3.5.7
+categories	x11 devel graphics
+maintainers	jeremyhu
 description	The X Pixmap Library
-
+homepage	http://www.x.org
+platforms	darwin macosx
 long_description XPM (X PixMap) is a format for storing/retrieving X pixmaps to/from files.  It is used by a large number of common X applications and has become something of a de-facto standard.
+master_sites	 ${homepage}/pub/individual/lib/
 
-maintainers	nomaintainer
-categories	x11 graphics
-platforms	darwin
-master_sites	freebsd \
-		xcontrib:libraries
-checksums	md5 dd7c6df259912646671ab8cbd3fcafd7
-depends_build	bin:xmkmf:imake
-use_xmkmf	yes
+distname	libXpm-${version}
+checksums           md5     cd15ee542d9f515538b4462a6f79d977 \
+                    sha1    215208091051530867efae0a4c1cedb7385d5f0e \
+                    rmd160  6bd355cb5f011b271b177d86db7f9a4e9d885ed3
+use_bzip2	yes
+use_parallel_build      yes
 
-destroot.target-append install.man
+depends_build	port:pkgconfig \
+                port:xorg-xproto
 
-destroot.destdir-append \
-        BINDIR=${prefix}/bin \
-        MANDIR=${prefix}/share/man
+depends_lib	lib:libX11:xorg-libX11
 
+# Panther and Tiger actually require the newer libX11 to build, so
+# force them to pull it in.  We should revert this to ALWAYS force
+# this to pull in port:xorg-libX11 once we convert other ports to use
+# lib:libXrender:xrender instead of port:xrender
+
+platform darwin 7 {
+    depends_lib-delete		lib:libX11:xorg-libX11
+    depends_lib-append		port:xorg-libX11
+}
+
+platform darwin 8 {
+    depends_lib-delete		lib:libX11:xorg-libX11
+    depends_lib-append		port:xorg-libX11
+}
+
+livecheck.check regex
+livecheck.url   [lindex ${master_sites} 0]?C=M&O=D
+livecheck.regex libXpm-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081203/12fbe8c3/attachment-0001.html>


More information about the macports-changes mailing list