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

nox at macports.org nox at macports.org
Wed Nov 12 17:19:35 PST 2008


Revision: 41979
          http://trac.macports.org/changeset/41979
Author:   nox at macports.org
Date:     2008-11-12 17:19:35 -0800 (Wed, 12 Nov 2008)
Log Message:
-----------
AquaLess: Updated to 1.6.

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

Modified: trunk/dports/aqua/AquaLess/Portfile
===================================================================
--- trunk/dports/aqua/AquaLess/Portfile	2008-11-12 23:59:39 UTC (rev 41978)
+++ trunk/dports/aqua/AquaLess/Portfile	2008-11-13 01:19:35 UTC (rev 41979)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem      1.0
@@ -4,9 +5,9 @@
 PortGroup       xcode 1.0
 
 name            AquaLess
-version         1.5
+version         1.6
 categories      aqua sysutils
-maintainers     nox
+maintainers     nox openmaintainer
 description     Cocoa pager similar to less
 
 long_description \
@@ -21,24 +22,16 @@
 distname        ${name}-${version}-src
 
 xcode.target            ${name}
-xcode.destroot.settings SKIP_INSTALL=NO
+xcode.destroot.settings INSTALL_PATH=${destroot}Applications
 
-checksums       md5 7e3d04993dc09c31f1daf09dbb5e2677 \
-                sha1 754681d9bd3e85586d2e50a9697c2ca0dc3b4750 \
-                rmd160 7a574fff89463fa57e0f1a0e49ad790be2e00b93
+checksums       md5     0d20fbda422538480abd18f4b298b7e0 \
+                sha1    29fd0a76e38f01d55fb46f00bb9b81af8b8f60a8 \
+                rmd160  8b4e727b415b0024c8ebbfcc469557fd458c8ef5
 
 post-patch {
-    reinplace -E "/@/s|/usr|${prefix}|" \
+    reinplace -E /@/s|/usr/bin/aless|$prefix/bin/aless| \
         ${worksrcpath}/ToolInstaller.m
-
-    reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|SDKROOT)_ppc =/d" \
-        ${worksrcpath}/${name}.xcodeproj/project.pbxproj
 }
-
-# Dummy configure to enable universal variant.
-use_configure   yes
-configure       {}
-
 if {! [variant_isset universal]} {
     set arch ${os.arch}
     if {! [string compare ${arch} powerpc]} {
@@ -50,10 +43,12 @@
 }
 
 post-destroot {
-    delete ${destroot}/Applications/MacPorts/aless
-    xinstall -m 0755 ${destroot}/Applications/MacPorts/${name}.app/Contents/Resources/aless \
-        ${destroot}${prefix}/bin
+    set builddir $worksrcpath/build/UninstalledProducts
+    xinstall -d $destroot/Applications/MacPorts
+    xinstall $builddir/aless $destroot$prefix/bin
+    copy $builddir/AquaLess.app $destroot/Applications/MacPorts
 }
 
-livecheck.distname  ${name}
+variant universal {}
 
+livecheck.distname  ${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081112/f290ddfb/attachment.html>


More information about the macports-changes mailing list