source: trunk/dports/emulators/sheepshaver/Portfile

Last change on this file was 134350, checked in by mojca@…, 3 years ago

sheepshaver: remove +no_x11 (#39383)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
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 134350 2015-03-23 16:26:41Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7set git_shasum      86c50b78fe
8set git_date        2013-11-05
9github.setup        cebix macemu ${git_shasum}
10name                sheepshaver
11version             2.3_git_${git_date}_${git_shasum}
12categories          emulators
13platforms           darwin
14maintainers         nomaintainer
15
16description         PowerPC Mac OS run-time environment
17
18long_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
25homepage            http://sheepshaver.cebix.net/
26
27checksums           rmd160  49ff473856b1db0ee802470f7b5d8f2d47d22e31 \
28                    sha256  90291cc63f93004f17003227bcc9347753e3487bf7345b64b9597ab14525fd83
29
30depends_build       port:autoconf \
31                    port:automake
32
33depends_lib         port:libsdl
34
35worksrcdir          "${worksrcdir}/SheepShaver/src/Unix"
36
37post-extract {
38    file mkdir ${worksrcpath}/Darwin
39}
40
41patchfiles          patch-Makefile.in.diff
42
43pre-configure {
44    system -W "${worksrcpath}/../../" "make links"
45    system -W "${worksrcpath}" "NO_CONFIGURE=yes ACLOCAL_FLAGS=\"-I m4\" ./autogen.sh"
46}
47
48configure.args      --enable-sdl-video \
49                    --enable-sdl-audio \
50                    --disable-vosf \
51                    --without-esd \
52                    --without-gtk \
53                    --without-mon
54
55post-destroot {
56    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
57    file copy ${worksrcpath}/../../doc/Linux ${destroot}${prefix}/share/doc/${name}
58}
59
60variant gtk {
61    depends_lib-append      port:gtk2
62    configure.args-replace  --without-gtk --with-gtk
63}
64
65default_variants    +gtk
66
67universal_variant   no
Note: See TracBrowser for help on using the repository browser.