[28109] trunk/dports/devel/agsocket/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Aug 21 00:38:52 PDT 2007
Revision: 28109
http://trac.macosforge.org/projects/macports/changeset/28109
Author: nox at macports.org
Date: 2007-08-21 00:38:52 -0700 (Tue, 21 Aug 2007)
Log Message:
-----------
agsocket: Added universal support.
Modified Paths:
--------------
trunk/dports/devel/agsocket/Portfile
Modified: trunk/dports/devel/agsocket/Portfile
===================================================================
--- trunk/dports/devel/agsocket/Portfile 2007-08-21 07:36:40 UTC (rev 28108)
+++ trunk/dports/devel/agsocket/Portfile 2007-08-21 07:38:52 UTC (rev 28109)
@@ -29,16 +29,26 @@
distname ${my_name}-${version}
extract.suffix .tgz
-worksrcdir ${my_name}
-
checksums md5 6bc6840a84d8549774fb584db1ea8b2c \
sha1 bbec9d15492a322d6604b8e8ea2c5d0520f3b850 \
rmd160 204559b0c2f79e044d773d074e34bdc3204df15e
+worksrcdir ${my_name}
+
+# Dummy configure to enable universal variant.
+configure {}
+
xcode.target ${my_name}
xcode.destroot.type framework
-universal_variant no
+variant universal {
+ post-patch {
+ cd ${worksrcpath}/${my_name}.pbproj
+ reinplace -E "/OTHER_CFLAGS/s|\"\"|\"${configure.universal_cflags}\"|" project.pbxproj
+ reinplace -E "/OTHER_LDFLAGS/s|\"\"|\"${configure.universal_ldflags}\"|" project.pbxproj
+ }
+}
+
livecheck.regex "<title>${my_name} ${my_name}-(\\d+(?:\\.\\d+)*) released.*</title>"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070821/926a49ce/attachment.html
More information about the macports-changes
mailing list