[75984] trunk/dports/aqua/X-MasTree

jmr at macports.org jmr at macports.org
Mon Feb 14 23:31:23 PST 2011


Revision: 75984
          http://trac.macports.org/changeset/75984
Author:   jmr at macports.org
Date:     2011-02-14 23:31:19 -0800 (Mon, 14 Feb 2011)
Log Message:
-----------
X-MasTree: use xcode portgroup, fix build (#23006)

Modified Paths:
--------------
    trunk/dports/aqua/X-MasTree/Portfile

Added Paths:
-----------
    trunk/dports/aqua/X-MasTree/files/
    trunk/dports/aqua/X-MasTree/files/InfoPlist.strings.diff

Modified: trunk/dports/aqua/X-MasTree/Portfile
===================================================================
--- trunk/dports/aqua/X-MasTree/Portfile	2011-02-15 07:09:16 UTC (rev 75983)
+++ trunk/dports/aqua/X-MasTree/Portfile	2011-02-15 07:31:19 UTC (rev 75984)
@@ -1,11 +1,11 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup xcode 1.0
 
 name			X-MasTree
 version			1.4
 categories		aqua amusements
-platforms		darwin
 maintainers		nomaintainer
 homepage		http://www.jschilling.net/sw_xmastree.php
 description		Christmas tree
@@ -24,21 +24,7 @@
 distname		${name}Source
 use_zip			yes
 
-use_configure		no
+patchfiles      InfoPlist.strings.diff
 
-build.type		pbx
-build.args		-configuration Release
-build.target		-project X-MasTree.xcodeproj -target X-MasTree
-
-destroot {		set appPath ${destroot}/Applications/MacPorts
-			file mkdir ${appPath}
-			file copy "${worksrcpath}/build/Release/${name}.app" ${appPath}
-			}
-
-default_variants +universal
-variant universal {}
-pre-fetch {
-	if {![variant_isset universal]} {
-		return -code error "${name} is only available in a universal version"
-	}
-}
+xcode.configuration		Release
+xcode.target	X-MasTree

Added: trunk/dports/aqua/X-MasTree/files/InfoPlist.strings.diff
===================================================================
--- trunk/dports/aqua/X-MasTree/files/InfoPlist.strings.diff	                        (rev 0)
+++ trunk/dports/aqua/X-MasTree/files/InfoPlist.strings.diff	2011-02-15 07:31:19 UTC (rev 75984)
@@ -0,0 +1,18 @@
+--- English.lproj/InfoPlist.strings.orig	2006-12-11 04:46:36.000000000 +1100
++++ English.lproj/InfoPlist.strings	2011-02-15 18:25:27.000000000 +1100
+@@ -3,4 +3,4 @@
+     CFBundleName = "X-MasTree"; 
+     CFBundleShortVersionString = "X-MasTree version 1.4"; 
+     NSHumanReadableCopyright = "\U00a92006 John Schilling & StimpSoft\U2122, Inc."; 
+-}
+\ No newline at end of file
++}
+--- Japanese.lproj/InfoPlist.strings.orig	2006-12-11 04:46:36.000000000 +1100
++++ Japanese.lproj/InfoPlist.strings	2011-02-15 18:25:37.000000000 +1100
+@@ -3,4 +3,4 @@
+     CFBundleName = "X-MasTree"; 
+     CFBundleShortVersionString = "X-MasTree version 1.4"; 
+     NSHumanReadableCopyright = "\U00a92006 John Schilling & StimpSoft\U2122, Inc."; 
+-}
+\ No newline at end of file
++}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110214/55df9502/attachment.html>


More information about the macports-changes mailing list