most recent changes, diff for launch
Index: aqua/launch/Portfile
--- aqua/launch/Portfile (revision 28952)
+++ aqua/launch/Portfile (revision 28953)
@@ -28,22 +28,25 @@
${worksrcpath}/${name}.pbproj/project.pbxproj
}
-xcode.destroot.settings-append SKIP_INSTALL=yes
+xcode.destroot.path ${prefix}/bin
post-destroot {
- cd ${worksrcpath}
-
- xinstall build/UninstalledProducts/${name} \
- ${destroot}${prefix}/bin
- xinstall -m 0444 ${name}.1 \
+ xinstall -m 0444 ${worksrcpath}/${name}.1 \
${destroot}${prefix}/share/man/man1
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}
- xinstall -m 0644 README ${destroot}${docdir}
+ xinstall -m 0644 ${worksrcpath}/README ${destroot}${docdir}
}
-universal_variant no
+variant universal {
+ post-patch {
+ reinplace -E "/OTHER_CFLAGS =/s|\"\"|\"${configure.universal_cflags}\"|" \
+ ${worksrcpath}/${name}.pbproj/project.pbxproj
+ reinplace -E "/OTHER_LDFLAGS =/s|\"\"|\"${configure.universal_ldflags}\"|" \
+ ${worksrcpath}/${name}.pbproj/project.pbxproj
+ }
+}
livecheck.check none