source: trunk/dports/devel/libtuxcap/Portfile

Last change on this file was 140052, checked in by ryandesign@…, 23 months ago

ImageMagick, p5-perlmagick: update to 6.9.2-0 and revbump ports linked with libMagick++ (#47911)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 140052 2015-09-08 02:47:33Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                libtuxcap
8version             1.4.0
9revision            3
10categories          devel games
11platforms           darwin
12maintainers         ryandesign openmaintainer
13license             PopCap
14
15description         framework for 2-D game development
16
17long_description    TuxCap is a port of the PopCap games framework used for \
18                    2-D game development. It comes with PyCap Python \
19                    bindings, a fast 2-D physics engine, a particle engine, \
20                    widgets and many documented examples.
21
22homepage            https://sourceforge.net/projects/tuxcap/
23master_sites        sourceforge:project/tuxcap/tuxcap/libtuxcap-${version}
24
25checksums           rmd160  43d236b65fd6bb28b3ceaa6ba3193ecbcc5e6675 \
26                    sha256  dae27bad276bffce6eba8114cd0e3edc0db710306f627b984464c4f0ec1fab2f
27
28depends_lib         port:ImageMagick \
29                    port:libsdl \
30                    port:libsdl_mixer \
31                    port:python27
32
33depends_run         port:glxinfo
34
35patchfiles          patch-tuxcap-CMakeModules-FindImageMagickLib.cmake.diff \
36                    patch-tuxcap-include-Physics.h.diff
37
38post-patch {
39    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/tuxcap/CMakeModules/FindImageMagickLib.cmake
40}
41
42configure.dir       ${worksrcpath}/tuxcap-build
43build.dir           ${configure.dir}
44
45configure.args-append \
46                    -DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/2.7/include/python2.7 \
47                    -DPYTHON_LIBRARY=${prefix}/lib/libpython2.7.dylib \
48                    ..
49
50livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.