[49980] trunk/dports/graphics/glitz/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Tue Apr 21 12:50:37 PDT 2009
Revision: 49980
http://trac.macports.org/changeset/49980
Author: mcalhoun at macports.org
Date: 2009-04-21 12:50:37 -0700 (Tue, 21 Apr 2009)
Log Message:
-----------
glitz: Use muniversal PortGroup.
Modified Paths:
--------------
trunk/dports/graphics/glitz/Portfile
Modified: trunk/dports/graphics/glitz/Portfile
===================================================================
--- trunk/dports/graphics/glitz/Portfile 2009-04-21 19:46:49 UTC (rev 49979)
+++ trunk/dports/graphics/glitz/Portfile 2009-04-21 19:50:37 UTC (rev 49980)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
name glitz
version 0.5.6
@@ -45,7 +46,17 @@
}
}
+# There is no reason to have the build directory in the .la file.
+pre-destroot {
+ if { ! [variant_isset universal] } {
+ reinplace "s| -L${worksrcpath}/src||g" ${worksrcpath}/src/agl/.libs/libglitz-agl.lai
+ } else {
+ foreach arch ${universal_archs_to_use} {
+ reinplace "s| -L${worksrcpath}-${arch}/src||g" ${worksrcpath}-${arch}/src/agl/.libs/libglitz-agl.lai
+ }
+ }
+}
+
livecheck.check regex
livecheck.url ${master_sites}
livecheck.regex LATEST-${name}-(\\d+(?:\\.\\d+)*)
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090421/3d11eb87/attachment.html>
More information about the macports-changes
mailing list