source: trunk/dports/aqua/AquaLess/Portfile @ 27797

Last change on this file since 27797 was 27797, checked in by nox@…, 13 years ago

AquaLess: Removed platforms.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 27797 2007-08-14 14:17:09Z nox@macports.org $
2
3PortSystem              1.0
4PortGroup               xcode 1.0
5
6name                    AquaLess
7version                 1.5
8categories              aqua sysutils
9maintainers             nox
10homepage                http://aqualess.sourceforge.net/
11description             Cocoa pager similar to less
12
13long_description        ${description}
14                       
15                       
16master_sites            sourceforge:aqualess
17checksums               md5 7e3d04993dc09c31f1daf09dbb5e2677 \
18                                sha1 754681d9bd3e85586d2e50a9697c2ca0dc3b4750 \
19                                rmd160 7a574fff89463fa57e0f1a0e49ad790be2e00b93
20
21distname                ${name}-${version}-src
22
23xcode.target                    ${name}
24xcode.destroot.settings SKIP_INSTALL=NO
25
26post-patch {
27        reinplace -E "/@/s|/usr|${prefix}|" \
28                ${worksrcpath}/ToolInstaller.m
29
30        reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|SDKROOT)_ppc =/d" \
31                ${worksrcpath}/${name}.xcodeproj/project.pbxproj
32}
33
34# Dummy configure to enable universal variant.
35use_configure   yes
36configure               {}
37
38if {! [variant_isset universal]} {
39        set arch ${os.arch}
40        if {! [string compare ${arch} powerpc]} {
41                set arch ppc
42        }
43
44        xcode.build.settings-append             ARCHS=${arch}
45        xcode.destroot.settings-append  ARCHS=${arch}
46}
47
48post-destroot {
49        delete ${destroot}/Applications/MacPorts/aless
50        xinstall -m 0755 ${destroot}/Applications/MacPorts/${name}.app/Contents/Resources/aless \
51                ${destroot}${prefix}/bin
52}
53
54livecheck.distname ${name}
55
Note: See TracBrowser for help on using the repository browser.