[27790] trunk/dports/aqua/IcyJuice/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 14 06:30:39 PDT 2007


Revision: 27790
          http://trac.macosforge.org/projects/macports/changeset/27790
Author:   nox at macports.org
Date:     2007-08-14 06:30:38 -0700 (Tue, 14 Aug 2007)

Log Message:
-----------
IcyJuice:
 * Updated to version 1.0.2.
 * Ported to xcode PortGroup.
 * Added livecheck and sha1 and rmd160 checksums.

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

Modified: trunk/dports/aqua/IcyJuice/Portfile
===================================================================
--- trunk/dports/aqua/IcyJuice/Portfile	2007-08-14 11:01:43 UTC (rev 27789)
+++ trunk/dports/aqua/IcyJuice/Portfile	2007-08-14 13:30:38 UTC (rev 27790)
@@ -1,32 +1,54 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem		1.0
+PortGroup		xcode 1.0
 
 name			IcyJuice
-version			1.0d6
+set my_name		"Icy Juice"
+version			1.0.2
 categories		aqua net
 platforms		darwin
-maintainers		nomaintainer at macports.org
+maintainers		nomaintainer
 homepage		http://www.mitzpettel.com/software/icyjuice.html
 description		Cocoa ICQ client
 
 long_description	IcyJuice is a cocoa icq client with file transfers \
 			support and multiple accounts lists.
 			
-			
-master_sites		http://www.mitzpettel.com/download/
-checksums		md5 7d6c5a039e47b64d79dec642c2526649
-
+master_sites	http://www.mitzpettel.com/download/
 distname		${name}${version}src
-extract.suffix		.tgz
+extract.suffix	.tgz
 
-use_configure		no
+checksums		md5 83fe12d8472733d799703fb9a0d84bee \
+				sha1 1d8789eb1cf1e2d3d1d939e4a2705ad0c24aadba \
+				rmd160 fbdaa97dea9a52ca1fcbae41e50339cef0a9b243
 
-build.type		pbx
-build.target		{ -project "Icy Juice.pbproj" }
+# Dummy configure to enable universal variant
+use_configure	yes
+configure		{}
 
-destroot {		set appPath ${destroot}/Applications/MacPorts
-			file mkdir ${appPath}
-			file copy "${worksrcpath}/build/Icy Juice.app" ${appPath}
-			}
+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}
+}
+
+# We cannot use xcode.project here because of #12429.
+#xcode.project	"Icy Juice.xcodeproj"
+build.args		"-project \"${my_name}.xcodeproj\""
+destroot.args	"-project \"${my_name}.xcodeproj\""
+
+post-destroot {
+	xinstall -d ${destroot}/Applications/MacPorts
+	copy ${worksrcpath}/build/${xcode.configuration}/${my_name}.app \
+		${destroot}/Applications/MacPorts
+}
+
+livecheck.check	regex
+livecheck.url	${homepage}
+livecheck.regex "version (\\d+(?:\\.\\d+)*)"
+

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


More information about the macports-changes mailing list