[27856] trunk/dports/aqua/launch/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 15 03:14:33 PDT 2007


Revision: 27856
          http://trac.macosforge.org/projects/macports/changeset/27856
Author:   nox at macports.org
Date:     2007-08-15 03:14:33 -0700 (Wed, 15 Aug 2007)

Log Message:
-----------
launch:
 * Ported to xcode portgroup.
 * Removed (MACOSX_DEPLOYMENT_TARGET|SDKROOT) variables to let Xcode figure them out.
 * Added sha1 and rmd160 checksums.
 * Disabled livecheck and universal support.

Modified Paths:
--------------
    trunk/dports/aqua/launch/Portfile

Modified: trunk/dports/aqua/launch/Portfile
===================================================================
--- trunk/dports/aqua/launch/Portfile	2007-08-15 09:55:07 UTC (rev 27855)
+++ trunk/dports/aqua/launch/Portfile	2007-08-15 10:14:33 UTC (rev 27856)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem		1.0
+PortGroup		xcode 1.0
 
 name			launch
 version			1.0.1
@@ -15,20 +16,35 @@
 	documents, folders, or URLs. With the exception of special support for \
 	TextEdit (open -a), launch does all this and more.
 
-homepage         http://web.sabi.net/nriley/software/
-master_sites     ${homepage}
-platforms        darwin
+homepage		http://web.sabi.net/nriley/software/
+master_sites	${homepage}
 
-checksums        md5 0c9f963701cdbe3272e2634cc3693b0d
+checksums		md5 0c9f963701cdbe3272e2634cc3693b0d \
+				sha1 fe22ea94418db5243bff8302596f12bdd0cc5c9f \
+				rmd160 b118756cc60fe25f89a5f34417b68afe67eaf3f5
 
-use_configure    no
+post-patch {
+	reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|SDKROOT) =/d" \
+		${worksrcpath}/${name}.pbproj/project.pbxproj
+}
 
-build.type       pbx
-build.args       -buildstyle Deployment
-build.target
+xcode.destroot.settings-append SKIP_INSTALL=yes
 
-destroot {
-	xinstall -m 775 ${worksrcpath}/build/launch ${destroot}${prefix}/bin
-	xinstall -m 664 ${worksrcpath}/launch.1 ${destroot}${prefix}/share/man/man1
+post-destroot {
+	cd ${worksrcpath}
+
+	xinstall build/UninstalledProducts/${name} \
+		${destroot}${prefix}/bin
+	xinstall -m 0444 ${name}.1 \
+		${destroot}${prefix}/share/man/man1
+
+	set docdir ${prefix}/share/doc/${name}-${version}
+	xinstall -d ${destroot}${docdir}
+	xinstall -m 0644 README \
+		${destroot}${docdir}
 }
 
+universal_variant no
+
+livecheck.check	none
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070815/a9c8d6c3/attachment.html


More information about the macports-changes mailing list