source: trunk/dports/emulators/basiliskii-devel/Portfile

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

basiliskii-devel: remove no_x11 (#39383)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=2:ts=2:sts=2
2# $Id: Portfile 134348 2015-03-23 16:22:42Z 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                basiliskii-devel
11version             1.0_git_${git_date}_${git_shasum}
12revision            1
13categories          emulators
14platforms           darwin
15maintainers         nomaintainer
16description         68k Mac emulator
17long_description    Basilisk II is an Open Source 68k Macintosh emulator.\
18                    That is, it allows you to run 68k Mac OS software on your \
19                    computer, even if you are using a different operating \
20                    system. However, you still need a copy of Mac OS and a \
21                    Macintosh ROM image to use Basilisk II.
22
23homepage            http://basilisk.cebix.net/
24
25checksums           rmd160  49ff473856b1db0ee802470f7b5d8f2d47d22e31 \
26                    sha256  90291cc63f93004f17003227bcc9347753e3487bf7345b64b9597ab14525fd83
27
28depends_build       port:autoconf \
29                    port:automake
30
31depends_lib         port:libsdl
32
33patchfiles          patch-src-Unix-configure.ac
34
35worksrcdir          "${worksrcdir}/BasiliskII/src/Unix"
36
37pre-configure {
38    system -W ${worksrcpath} "NO_CONFIGURE=yes ACLOCAL_FLAGS=\"-I m4\" ./autogen.sh"
39}
40
41configure.args      --enable-sdl-video \
42                    --enable-sdl-audio \
43                    --disable-vosf \
44                    --without-esd \
45                    --without-gtk \
46                    --without-mon
47
48post-destroot {
49    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
50    xinstall -W ${worksrcpath}/../../ README TECH TODO COPYING ChangeLog INSTALL \
51                ${destroot}${prefix}/share/doc/${name}
52}
53
54post-activate {
55    ui_msg "To use Basilisk II, you need either a 512K Mac Classic ROM image"
56    ui_msg "or a 512K or 1MB 32-bit clean Macintosh ROM image. You also need"
57    ui_msg "a copy of Mac OS (0.x thru 7.5 for Classic emulation, 7.x or 8.0/"
58    ui_msg "8.1 for Mac II emulation). For copyright reasons, none of these"
59    ui_msg "items are included with Basilisk II. Mac OS 7.5.3 and earlier"
60    ui_msg "versions can be downloaded from Apple and various other Internet"
61    ui_msg "sites. Mac ROM files are not freely available. You have to own a"
62    ui_msg "real Mac and read out its ROM."
63}
64
65# TODO: figure out how to build a native Mac OS X application
66#       (then +gtk could probably be removed)
67
68variant gtk {
69    depends_lib-append      port:gtk2
70    configure.args-replace  --without-gtk --with-gtk
71}
72
73default_variants +gtk
74
75#variant static {
76#   configure.args-append --enable-sdl-static
77#}
Note: See TracBrowser for help on using the repository browser.