Ticket #18118: Portfile

File Portfile, 1.7 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago)

in-progress non-working (building but crashing) portfile

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$
3
4PortSystem          1.0
5PortGroup           app 1.0
6PortGroup           github 1.0
7
8github.setup        FluXy SMC 1817d550feb2e78339fc0ac1bf92bd58456852ed
9name                secretmaryo
10version             20121121
11categories          games
12platforms           darwin
13maintainers         ryandesign openmaintainer
14
15# Uses Carbon Scrap Manager which is 32-bit only.
16supported_archs     i386 ppc
17
18description         Secret Maryo Chronicles
19
20homepage            http://www.secretmaryo.org/
21
22checksums           rmd160  f51355c7da6c9b7178d468afcf851171ae4ed7ef \
23                    sha256  6710fbdf7081b8caeab4c8108fbc3bae0d093459370d937ca5014d65f961c081
24
25depends_build       port:autoconf \
26                    port:automake \
27                    port:libtool \
28                    port:pkgconfig
29
30depends_lib         port:boost \
31                    port:cegui \
32                    port:gettext \
33                    port:libsdl \
34                    port:libsdl_image \
35                    port:libsdl_mixer \
36                    port:libsdl_ttf
37
38patch.dir           ${worksrcpath}/smc
39
40patchfiles          patch-autogen.sh.diff \
41                    patch-configure.ac.diff
42
43post-patch {
44    reinplace "s|@PREFIX@|${prefix}|g" ${patch.dir}/autogen.sh
45}
46
47use_autoreconf      yes
48autoreconf.dir      ${patch.dir}
49autoreconf.cmd      ./autogen.sh
50autoreconf.pre_args
51
52configure.dir       ${autoreconf.dir}
53configure.args      --disable-silent-rules
54
55build.dir           ${configure.dir}
56
57app.name            Secret Maryo
58app.executable      ${prefix}/bin/smc
59app.identifier      org.secretmaryo.smc