[28949] trunk/dports/aqua/ihook/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 12 11:40:59 PDT 2007


Revision: 28949
          http://trac.macosforge.org/projects/macports/changeset/28949
Author:   nox at macports.org
Date:     2007-09-12 11:40:59 -0700 (Wed, 12 Sep 2007)

Log Message:
-----------
ihook:
 * Reworked universal support.
 * Removed cd.

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

Modified: trunk/dports/aqua/ihook/Portfile
===================================================================
--- trunk/dports/aqua/ihook/Portfile	2007-09-12 18:31:32 UTC (rev 28948)
+++ trunk/dports/aqua/ihook/Portfile	2007-09-12 18:40:59 UTC (rev 28949)
@@ -26,25 +26,23 @@
 				sha1 73f434d9bd9238a7c36014c1dd656f9b9eba1616 \
 				rmd160 5b384f008739ba8cffd5380aa8ea7bcf3c6d7eec
 
-# Dummy configure to enable universal variant
-use_configure	yes
-configure		{}
-
 if {! [variant_isset universal]} {
 	set arch ${os.arch}
 	if {! [string compare ${os.arch} powerpc]} {
 		set arch ppc
 	}
 
-	xcode.build.settings-append		ARCHS=${arch}
-	xcode.destroot.settings-append	ARCHS=${arch}
+	xcode.build.settings        ARCHS=${arch}
+	xcode.destroot.settings     ARCHS=${arch}
 }
 
 post-destroot {
-	cd ${destroot}/Applications/MacPorts
-	move shookexec ${my_name}.app/Contents/Resources
+    move ${destroot}/Applications/MacPorts/shookexec \
+        ${destroot}/Applications/MacPorts/${my_name}.app/Contents/Resources
 }
 
+variant universal {}
+
 livecheck.check	regex
 livecheck.url	${homepage}
 livecheck.regex "${my_name} (\\d+(?:\\.\\d+)*)"

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


More information about the macports-changes mailing list