source: trunk/dports/emulators/lisaem/Portfile @ 38614

Last change on this file since 38614 was 38614, checked in by ryandesign@…, 12 years ago

lisaem: remove unnecessary statements (these are already the defaults)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 38614 2008-07-26 05:18:35Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    lisaem
6version                 1.2.6
7revision                1
8maintainers             ryandesign
9platforms               darwin
10categories              emulators
11homepage                http://lisa.sunder.net/
12master_sites            ${homepage}downloads/
13use_bzip2               yes
14use_parallel_build      no
15
16description \
17    Apple Lisa emulator
18
19long_description \
20    ${description}
21
22checksums \
23    md5 b236d7fa06c7589bb0de5d13ed680c9a \
24    sha1 c3552eb2fc89ff6e47994767aa4e524de7000dc7 \
25    rmd160 bc541ef181b417ee369ed960f29637f87cc1308a
26
27depends_lib \
28    port:wxWidgets
29
30patchfiles \
31    patch-build.sh.diff
32
33use_configure           no
34universal_variant       no
35
36build.cmd               ./build.sh
37build.target            build
38
39# Can be removed once MacPorts 1.7.0 is released
40if {![info exists applications_dir]} {
41    set applications_dir /Applications/MacPorts
42}
43
44destroot.destdir
45destroot.env            PREFIXAPP=${destroot}${applications_dir} \
46                        PREFIXBIN=${destroot}${prefix}/bin \
47                        PREFIXLIB=${destroot}${prefix}/share
48
49pre-destroot {
50    xinstall -d ${destroot}${applications_dir}
51}
52
53post-activate {
54    # lisaem 1.2.6_0 installed items to /usr/local/bin; remove them if found
55    foreach file {lisadiskinfo lisafsh-tool} {
56        set filepath /usr/local/bin/${file}
57        if {[file exists ${filepath}]} {
58            if {[catch {delete ${filepath}}]} {
59                ui_warn "Cannot delete ${filepath}; please remove it manually"
60            }
61        }
62    }
63}
64
65livecheck.check         regex
66livecheck.url           ${homepage}downloads.html
67livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.