most recent changes, diff for platypus
Index: aqua/Platypus/Portfile
--- aqua/Platypus/Portfile (revision 27807)
+++ aqua/Platypus/Portfile (revision 27808)
@@ -1,11 +1,14 @@
# $Id$
+
PortSystem 1.0
+PortGroup xcode 1.0
name Platypus
-version 3.2
+version 3.4
categories aqua devel
-maintainers nomaintainer@macports.org
+maintainers nomaintainer
description Program for creating application wrappers around scripts.
+
long_description Platypus is a program for creating application \
wrappers around scripts, i.e. creating Mac OS X \
applications that execute a script they are bundled \
@@ -15,22 +18,32 @@
supports drag and drop on created apps, running as \
root using Authentication Manager and more.
-homepage http://sveinbjorn.sytes.net
-master_sites ${homepage}/files/software/platypus/
+homepage http://www.sveinbjorn.org/platypus/
+master_sites http://www.sveinbjorn.org/files/software/platypus/
distname platypus${version}.src
use_zip yes
-checksums md5 4dcfca127b1bfaecdbbc75c06641ad91
-platforms darwin
-set worksrcdir ${name}
+checksums md5 775d39e01562a97739043644865c7062 \
+ sha1 fdb9967f5f3edbb9f82e206455db21aa1e420496 \
+ rmd160 2a1dc4cf5247c688706f7724ddfc0945d2805146
+
+worksrcdir ${name}
-use_configure no
+# Dummy configure to enable universal variant.
+use_configure yes
+configure {}
-build.type pbx
-build.target -configuration Deployment -target ${name}
+if {! [variant_isset universal]} {
+ set arch ${os.arch}
+ if {! [string compare ${os.arch} powerpc]} {
+ set arch ppc
+ }
-destroot {
- xinstall -d -m 755 ${destroot}/Applications/MacPorts
- system "cp -R '${worksrcpath}'/build/Deployment/${name}.app \
- ${destroot}/Applications/MacPorts/${name}.app"
+ xcode.build.settings-append ARCHS=${arch}
+ xcode.destroot.settings-append ARCHS=${arch}
}
+
+livecheck.check regex
+livecheck.url ${homepage}
+livecheck.regex "${name} (\\d+(?:\\.\\d+)*)"
+