[27934] trunk/dports/aqua/fugu
source_changes at macosforge.org
source_changes at macosforge.org
Thu Aug 16 03:42:44 PDT 2007
Revision: 27934
http://trac.macosforge.org/projects/macports/changeset/27934
Author: nox at macports.org
Date: 2007-08-16 03:42:43 -0700 (Thu, 16 Aug 2007)
Log Message:
-----------
fugu:
* Ported to xcode portgroup.
* Added universal support.
* Added sha1 and rmd160 checksums and livecheck.
Modified Paths:
--------------
trunk/dports/aqua/fugu/Portfile
Removed Paths:
-------------
trunk/dports/aqua/fugu/files/
Modified: trunk/dports/aqua/fugu/Portfile
===================================================================
--- trunk/dports/aqua/fugu/Portfile 2007-08-16 10:24:40 UTC (rev 27933)
+++ trunk/dports/aqua/fugu/Portfile 2007-08-16 10:42:43 UTC (rev 27934)
@@ -1,37 +1,54 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
+PortGroup xcode 1.0
+
name fugu
+set my_name Fugu
version 1.2.0
categories aqua
-maintainers nomaintainer at macports.org
+maintainers nomaintainer
description A Mac OS X SFTP, SCP and SSH Frontend.
+
long_description Fugu is a graphical frontend to the commandline \
Secure File Transfer application (SFTP). SFTP is \
similar to FTP, but unlike FTP, the entire session \
is encrypted, meaning no passwords are sent in \
cleartext form, and is thus much less vulnerable to \
third-party interception.
+
platforms darwin
-homepage http://rsug.itd.umich.edu/software/fugu
-master_sites ${homepage}/files/
-extract.suffix .tgz
-checksums md5 977b15709364f2fc26d0152a7667d379
+homepage http://rsug.itd.umich.edu/software/fugu/
+master_sites ${homepage}files/
+extract.suffix .tgz
-use_configure no
+checksums md5 977b15709364f2fc26d0152a7667d379 \
+ sha1 f52458be93a57b8f7b1438a9bf790d7b8be71247 \
+ rmd160 6b7503b071abea4f764da9cbfc62b6d6e29ab0c2
-build.type pbx
-build.args -buildstyle Deployment -alltargets
-build.target
+xcode.destroot.settings SKIP_INSTALL=yes
-patchfiles patch-project.pbxproj
+# Dummy configure to enable universal variant.
+use_configure yes
+configure {}
-destroot {
- xinstall -d -m 0755 ${destroot}/Applications/MacPorts
- if {$xcodeversion == "2.1"} {
- cd ${worksrcpath}/build/Deployment
- } else {
- cd ${worksrcpath}/build
- }
- file copy Fugu.app ${destroot}/Applications/MacPorts/
+post-patch {
+ reinplace "s|build/|build/${xcode.configuration}/|" \
+ ${worksrcpath}/Fugu.pbproj/project.pbxproj
}
+
+post-destroot {
+ xinstall -d ${destroot}/Applications/MacPorts
+ copy ${worksrcpath}/build/UninstalledProducts/${my_name}.app \
+ ${destroot}/Applications/MacPorts
+}
+
+variant universal {
+ build.args "ARCHS=\"i386 ppc\""
+ destroot.args ${build.args}
+}
+
+livecheck.check regex
+livecheck.url ${homepage}
+livecheck.regex "${my_name} (\\d+(?:\\.\\d+)*)"
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070816/a0cbc2d3/attachment.html
More information about the macports-changes
mailing list