source: trunk/dports/aqua/AquaLess/Portfile

Last change on this file was 99937, checked in by ryandesign@…, 5 years ago

AquaLess: actually install AquaLess.app with Xcode < 4.2 (#37086); rewrite master_sites to avoid redirects

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 99937 2012-11-21 23:45:09Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       xcode 1.0
6
7name            AquaLess
8revision        2
9version         1.6
10license         GPL-2+
11categories      aqua sysutils
12maintainers     nomaintainer
13description     Cocoa pager similar to less
14
15long_description \
16    AquaLess is a text pager for Mac OS X. It allows you to browse plain \
17    text files and -- more importantly -- text output from Unix command \
18    line tools. AquaLess is a Cocoa replacement for the less command, which \
19    is constrained to the terminal window. AquaLess opens a separate window \
20    for each text, so you can keep working in the terminal while you read.
21
22homepage        http://aqualess.sourceforge.net/
23master_sites    sourceforge:project/aqualess/AquaLess/${version}
24distname        ${name}-${version}-src
25
26supported_archs i386 ppc
27
28xcode.target            ${name}
29
30checksums       md5     0d20fbda422538480abd18f4b298b7e0 \
31                sha1    29fd0a76e38f01d55fb46f00bb9b81af8b8f60a8 \
32                rmd160  8b4e727b415b0024c8ebbfcc469557fd458c8ef5
33
34post-destroot {
35    if {[vercmp $xcodeversion 4.2] >= 0} {
36        move ${destroot}${applications_dir}/aless ${destroot}${prefix}/bin
37    } else {
38        copy ${worksrcpath}/build/UninstalledProducts/aless ${destroot}${prefix}/bin
39        copy ${worksrcpath}/build/UninstalledProducts/AquaLess.app ${destroot}${applications_dir}
40    }
41}
42
43post-patch {
44    reinplace -E /@/s|/usr/bin/aless|${prefix}/bin/aless| \
45        ${worksrcpath}/ToolInstaller.m
46}
47
48livecheck.distname  ${name}
Note: See TracBrowser for help on using the repository browser.