1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 114119 2013-11-29 22:31:11Z jmr@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | set git_shasum 86c50b78fe |
---|
8 | set git_date 2013-11-05 |
---|
9 | github.setup cebix macemu ${git_shasum} |
---|
10 | name sheepshaver |
---|
11 | version 2.3_git_${git_date}_${git_shasum} |
---|
12 | categories emulators |
---|
13 | platforms darwin |
---|
14 | maintainers nomaintainer |
---|
15 | |
---|
16 | description PowerPC Mac OS run-time environment |
---|
17 | |
---|
18 | long_description SheepShaver is an Open Source PowerPC Mac OS run-time \ |
---|
19 | environment. That is, it enables you to run PowerPC \ |
---|
20 | Classic Mac OS software on your computer, even if you are \ |
---|
21 | using a different operating system. However, you still \ |
---|
22 | need a copy of Mac OS and a Power Macintosh ROM image to \ |
---|
23 | use this program. |
---|
24 | |
---|
25 | homepage http://sheepshaver.cebix.net/ |
---|
26 | |
---|
27 | checksums rmd160 49ff473856b1db0ee802470f7b5d8f2d47d22e31 \ |
---|
28 | sha256 90291cc63f93004f17003227bcc9347753e3487bf7345b64b9597ab14525fd83 |
---|
29 | |
---|
30 | depends_build port:autoconf \ |
---|
31 | port:automake |
---|
32 | |
---|
33 | depends_lib port:libsdl |
---|
34 | |
---|
35 | worksrcdir "${worksrcdir}/SheepShaver/src/Unix" |
---|
36 | |
---|
37 | post-extract { |
---|
38 | file mkdir ${worksrcpath}/Darwin |
---|
39 | } |
---|
40 | |
---|
41 | patchfiles patch-Makefile.in.diff |
---|
42 | |
---|
43 | pre-configure { |
---|
44 | system -W "${worksrcpath}/../../" "make links" |
---|
45 | system -W "${worksrcpath}" "NO_CONFIGURE=yes ACLOCAL_FLAGS=\"-I m4\" ./autogen.sh" |
---|
46 | } |
---|
47 | |
---|
48 | configure.args --enable-sdl-video \ |
---|
49 | --enable-sdl-audio \ |
---|
50 | --disable-vosf \ |
---|
51 | --without-esd \ |
---|
52 | --without-gtk \ |
---|
53 | --without-mon |
---|
54 | |
---|
55 | post-destroot { |
---|
56 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
57 | file copy ${worksrcpath}/../../doc/Linux ${destroot}${prefix}/share/doc/${name} |
---|
58 | } |
---|
59 | |
---|
60 | # legacy variant - remove after January 2015 |
---|
61 | variant no_x11 conflicts gtk description {Legacy compatibility variant} {} |
---|
62 | |
---|
63 | variant gtk conflicts no_x11 { |
---|
64 | depends_lib-append port:gtk2 |
---|
65 | configure.args-replace --without-gtk --with-gtk |
---|
66 | } |
---|
67 | |
---|
68 | if {[variant_isset no_x11]} { |
---|
69 | default_variants -gtk |
---|
70 | } else { |
---|
71 | default_variants +gtk |
---|
72 | } |
---|
73 | |
---|
74 | universal_variant no |
---|