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

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

AquaLess:

  • Added long_description.
  • Whitespace changes.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 28219 2007-08-24 22:49:02Z nox@macports.org $
2
3PortSystem              1.0
4PortGroup               xcode 1.0
5
6name                    AquaLess
7version                 1.5
8categories              aqua sysutils
9maintainers             nox
10description             Cocoa pager similar to less
11
12long_description \
13        AquaLess is a text pager for Mac OS X. It allows you to browse plain \
14        text files and -- more importantly -- text output from Unix command \
15        line tools. AquaLess is a Cocoa replacement for the less command, which \
16        is constrained to the terminal window. AquaLess opens a separate window \
17        for each text, so you can keep working in the terminal while you read.
18
19homepage                http://aqualess.sourceforge.net/
20master_sites    sourceforge:aqualess
21distname                ${name}-${version}-src
22
23xcode.target                    ${name}
24xcode.destroot.settings SKIP_INSTALL=NO
25
26checksums               md5 7e3d04993dc09c31f1daf09dbb5e2677 \
27                                sha1 754681d9bd3e85586d2e50a9697c2ca0dc3b4750 \
28                                rmd160 7a574fff89463fa57e0f1a0e49ad790be2e00b93
29
30post-patch {
31        reinplace -E "/@/s|/usr|${prefix}|" \
32                ${worksrcpath}/ToolInstaller.m
33
34        reinplace -E "/(MACOSX_DEPLOYMENT_TARGET|SDKROOT)_ppc =/d" \
35                ${worksrcpath}/${name}.xcodeproj/project.pbxproj
36}
37
38# Dummy configure to enable universal variant.
39use_configure   yes
40configure               {}
41
42if {! [variant_isset universal]} {
43        set arch ${os.arch}
44        if {! [string compare ${arch} powerpc]} {
45                set arch ppc
46        }
47
48        xcode.build.settings-append             ARCHS=${arch}
49        xcode.destroot.settings-append  ARCHS=${arch}
50}
51
52post-destroot {
53        delete ${destroot}/Applications/MacPorts/aless
54        xinstall -m 0755 ${destroot}/Applications/MacPorts/${name}.app/Contents/Resources/aless \
55                ${destroot}${prefix}/bin
56}
57
58livecheck.distname ${name}
59
Note: See TracBrowser for help on using the repository browser.