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

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

graphviz, graphviz-devel, lisaem, minivmac: Remove setting applications_dir which MacPorts 1.7.0 now takes care of for us.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[34644]1# $Id: Portfile 44609 2008-12-31 07:41:06Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    lisaem
6version                 1.2.6
[38613]7revision                1
[34644]8maintainers             ryandesign
9platforms               darwin
10categories              emulators
11homepage                http://lisa.sunder.net/
12master_sites            ${homepage}downloads/
13use_bzip2               yes
[38610]14use_parallel_build      no
[34644]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
[38613]30patchfiles \
31    patch-build.sh.diff
32
[34644]33use_configure           no
34universal_variant       no
35
36build.cmd               ./build.sh
37build.target            build
38
39destroot.destdir
[38613]40destroot.env            PREFIXAPP=${destroot}${applications_dir} \
41                        PREFIXBIN=${destroot}${prefix}/bin \
42                        PREFIXLIB=${destroot}${prefix}/share
[34644]43
44pre-destroot {
[38613]45    xinstall -d ${destroot}${applications_dir}
[34644]46}
47
[38613]48post-activate {
49    # lisaem 1.2.6_0 installed items to /usr/local/bin; remove them if found
50    foreach file {lisadiskinfo lisafsh-tool} {
51        set filepath /usr/local/bin/${file}
52        if {[file exists ${filepath}]} {
53            if {[catch {delete ${filepath}}]} {
54                ui_warn "Cannot delete ${filepath}; please remove it manually"
55            }
56        }
57    }
58}
59
[34644]60livecheck.check         regex
61livecheck.url           ${homepage}downloads.html
62livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.