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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup github 1.0 |
---|
5 | |
---|
6 | github.setup avaraline Avara 4aec307cc78e838e92dd537bd9792e20b3a2cc69 |
---|
7 | version 2018-10-09 |
---|
8 | |
---|
9 | categories games |
---|
10 | license MIT |
---|
11 | platforms macosx |
---|
12 | maintainers nomaintainer |
---|
13 | |
---|
14 | description Port of the original 1996 game from Ambrosia Software |
---|
15 | long_description {*}${description} |
---|
16 | |
---|
17 | checksums rmd160 22d0b46336546cce98e8e12f7a4f4f8b585eafa4 \ |
---|
18 | sha256 2538479b7d432e422bff0b68128f6e49f8a5ce8396afb1a20e58acf440659c88 \ |
---|
19 | size 6498085 |
---|
20 | |
---|
21 | depends_build port:pkgconfig |
---|
22 | depends_lib port:libsdl2 \ |
---|
23 | port:libsdl2_net |
---|
24 | |
---|
25 | patchfiles Makefile.patch includes.patch |
---|
26 | |
---|
27 | use_configure no |
---|
28 | |
---|
29 | build.target avara |
---|
30 | |
---|
31 | if {[vercmp [macports_version] 2.5.99] >= 0} { |
---|
32 | build.env CC=${configure.cc} \ |
---|
33 | CXX=${configure.cxx} \ |
---|
34 | "CFLAGS=${configure.cflags} [get_canonical_archflags cc]" \ |
---|
35 | CPPFLAGS=${configure.cppflags} \ |
---|
36 | "CXXFLAGS=${configure.cxxflags} [get_canonical_archflags cxx]" \ |
---|
37 | "LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]" \ |
---|
38 | PKG_CONFIG=${prefix}/bin/pkg-config |
---|
39 | } else { |
---|
40 | build.env CC=${configure.cc} \ |
---|
41 | CXX=${configure.cxx} \ |
---|
42 | CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \ |
---|
43 | CPPFLAGS="${configure.cppflags}" \ |
---|
44 | CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \ |
---|
45 | LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" \ |
---|
46 | PKG_CONFIG=${prefix}/bin/pkg-config |
---|
47 | } |
---|