[99937] trunk/dports/aqua/AquaLess/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Nov 21 15:45:09 PST 2012


Revision: 99937
          https://trac.macports.org/changeset/99937
Author:   ryandesign at macports.org
Date:     2012-11-21 15:45:09 -0800 (Wed, 21 Nov 2012)
Log Message:
-----------
AquaLess: actually install AquaLess.app with Xcode < 4.2 (#37086); rewrite master_sites to avoid redirects

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

Modified: trunk/dports/aqua/AquaLess/Portfile
===================================================================
--- trunk/dports/aqua/AquaLess/Portfile	2012-11-21 22:31:02 UTC (rev 99936)
+++ trunk/dports/aqua/AquaLess/Portfile	2012-11-21 23:45:09 UTC (rev 99937)
@@ -5,7 +5,7 @@
 PortGroup       xcode 1.0
 
 name            AquaLess
-revision        1
+revision        2
 version         1.6
 license         GPL-2+
 categories      aqua sysutils
@@ -20,7 +20,7 @@
     for each text, so you can keep working in the terminal while you read.
 
 homepage        http://aqualess.sourceforge.net/
-master_sites    sourceforge:aqualess
+master_sites    sourceforge:project/aqualess/AquaLess/${version}
 distname        ${name}-${version}-src
 
 supported_archs i386 ppc
@@ -33,9 +33,10 @@
 
 post-destroot {
     if {[vercmp $xcodeversion 4.2] >= 0} {
-        file rename ${destroot}${applications_dir}/aless ${destroot}${prefix}/bin/aless
+        move ${destroot}${applications_dir}/aless ${destroot}${prefix}/bin
     } else {
-        file copy ${worksrcpath}/build/UninstalledProducts/aless ${destroot}${prefix}/bin
+        copy ${worksrcpath}/build/UninstalledProducts/aless ${destroot}${prefix}/bin
+        copy ${worksrcpath}/build/UninstalledProducts/AquaLess.app ${destroot}${applications_dir}
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121121/7bbc16e2/attachment.html>


More information about the macports-changes mailing list