[27863] trunk/dports/aqua/wtf-x/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 15 05:54:03 PDT 2007


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

Log Message:
-----------
wtf-x:
 * Ported to xcode portgroup.
 * Added universal support.
 * Added sha1 and rmd160 checksums.

Modified Paths:
--------------
    trunk/dports/aqua/wtf-x/Portfile

Modified: trunk/dports/aqua/wtf-x/Portfile
===================================================================
--- trunk/dports/aqua/wtf-x/Portfile	2007-08-15 12:38:23 UTC (rev 27862)
+++ trunk/dports/aqua/wtf-x/Portfile	2007-08-15 12:54:03 UTC (rev 27863)
@@ -1,35 +1,40 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem		1.0
+PortGroup		xcode 1.0
 
 name			wtf-x
 version			0.1
 categories		aqua
-maintainers		nomaintainer at macports.org
-platforms		darwin
+maintainers		nomaintainer
 description 	A MacOSX programm to translate common Internet acronyms
+
 long_description 	WTF-X is a Mac OS X programm to translate common Internet \
 					acronyms. It's a port of BSD's commandline tool wtf, but \
 					unlike this tool it's running as a service in OS X and \
 					also offers a GUI to browse through all the acronyms and \
 					add new ones.
+
 homepage		http://wtf-x.sourceforge.net
-
-master_sites	sourceforge:wtf-x
+master_sites	sourceforge
 use_zip 		yes
 distname		${name}-release-${version}-source
-checksums		md5 101f0798f34f0c9f6a5c9ef8b179192d
 
-use_configure	no
+checksums		md5 101f0798f34f0c9f6a5c9ef8b179192d \
+				sha1 4ef240617206d15473e77af21146637bc0e96f37 \
+				rmd160 fb971c1056fb8dc6412216402d5b57e6b65a2d30
 
-worksrcdir 		wtf-x
+worksrcdir 		${name}
 
-build.type 		pbx
-build.target
-build.args 		-buildstyle Deployment
+# Dummy configure to enable universal variant
+use_configure	yes
+configure		{}
 
-destroot {
-        set appPath ${destroot}/Applications/MacPorts
-        file mkdir ${appPath}
-        file copy ${worksrcpath}/build/WTF-X.app ${appPath}/WTF-X.app
+variant universal {
+	build.args-append		"ARCHS=\"i386 ppc\""
+	destroot.args-append	"ARCHS=\"i386 ppc\""
+
+	xcode.build.settings-append		SDKROOT_i386=/Developer/SDKs/MacOSX10.4u.sdk
+	xcode.destroot.settings-append	SDKROOT_i386=/Developer/SDKs/MacOSX10.4u.sdk
 }
+

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


More information about the macports-changes mailing list