Ticket #7850: Portfile

File Portfile, 1.4 KB (added by opendarwin.nospam@…, 18 years ago)

portfile

Line 
1PortSystem 1.0
2
3name                    sheepshaver-devel
4version                 2.3-20060318
5categories              emulators
6platforms               darwin
7maintainers             opendarwin.nospam@vercruesse.de
8description             PowerPC MacOS run-time environment
9long_description        SheepShaver is an Open Source PowerPC MacOS run-time \
10                                        environment. That is, it enables you to run PowerPC \
11                                        Classic MacOS software on your computer, even if you are \
12                                        using a different operating system. However, you still \
13                                        need a copy of MacOS and a PowerMacintosh ROM image to \
14                                        use this program.
15homepage                http://sheepshaver.cebix.net/
16
17fetch.type              cvs
18cvs.root                :pserver:anoncvs@cvs.cebix.net:/home/cvs/cebix
19cvs.password    anoncvs
20cvs.module              BasiliskII SheepShaver
21cvs.date                20060318
22
23depends_build   port:autoconf \
24                                port:automake
25
26depends_lib             port:libsdl \
27                                port:gtk2
28
29worksrcdir              SheepShaver/src/Unix
30
31
32pre-configure {
33        system "mkdir ${worksrcpath}/Darwin"
34        system "cd ${worksrcpath}/../../ && make links"
35        system "cd ${worksrcpath} && NO_CONFIGURE=yes ACLOCAL_FLAGS=\"-I m4\" ./autogen.sh"
36}
37
38configure.args  --enable-sdl-video --enable-sdl-audio \
39                                --disable-vosf --without-mon \
40                                --with-gtk --without-esd
41
42
43post-destroot {
44        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
45        file copy ${worksrcpath}/../../doc/Linux ${destroot}${prefix}/share/doc/${name}
46}
47
48variant no_x11 {
49        configure.args-delete   --with-gtk
50        configure.args-append   --without-gtk
51        depends_lib-delete              port:gtk2
52}