[27859] trunk/dports/aqua/mkconsole/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 15 04:02:03 PDT 2007


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

Log Message:
-----------
mkconsole:
 * Updated to 1.10.
 * Ported to xcode portgroup.
 * Added universal support.
 * Added sha1 and rmd160 checksums and livecheck.

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

Modified: trunk/dports/aqua/mkconsole/Portfile
===================================================================
--- trunk/dports/aqua/mkconsole/Portfile	2007-08-15 10:46:40 UTC (rev 27858)
+++ trunk/dports/aqua/mkconsole/Portfile	2007-08-15 11:02:03 UTC (rev 27859)
@@ -1,9 +1,11 @@
 # $Id$
 
 PortSystem		1.0
+PortGroup		xcode 1.0
 
 name			mkconsole
-version			1.8
+set my_name		MkConsole
+version			1.10
 categories		aqua
 maintainers		nomaintainer
 description		application that displays logfiles on your desktop
@@ -23,23 +25,36 @@
 	preferences panel) you can also configure multiple windows \
 	with multiple logifiles each.
 
-homepage		http://www.mulle-kybernetik.com/software/MkConsole/
+homepage		http://www.mulle-kybernetik.com/software/${my_name}/
 master_sites	${homepage}Downloads/
 distname		${name}-${version}-s
-platforms		darwin
 
-checksums		md5 1fb642b625d3009573d8de1f5d60a6a5
+checksums		md5 ded91a1455b454ea7f029afef985bc7b \
+				sha1 4926efca81e5548b09b5ec931904f0640b82af23 \
+				rmd160 f5e238825e17d7b0964bb5a57bc9b9926614c4ba
 
-worksrcdir		MkConsole
+worksrcdir		${my_name}
 
-use_configure    no
+# Dummy configure to enable universal variant
+use_configure	yes
+configure		{}
 
-build.type       pbx
-build.target     -project MkConsole.xcode
-build.args       -buildstyle Deployment
+if {! [variant_isset universal]} {
+	set arch ${os.arch}
+	if {! [string compare ${os.arch} powerpc]} {
+		set arch ppc
+	}
 
-destroot {
-	set appPath ${destroot}/Applications/MacPorts
-	file mkdir ${appPath}
-	file copy ${worksrcpath}/build/MkConsole.app ${appPath}
+	xcode.build.settings-append		ARCHS=${arch}
+	xcode.destroot.settings-append	ARCHS=${arch}
 }
+
+xcode.destroot.settings-append SKIP_INSTALL=no
+
+platform darwin 7 {
+	xcode.configuration "Deployment 10.3"
+}
+
+livecheck.check	regex
+livecheck.url	${homepage}
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)-s"

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


More information about the macports-changes mailing list