source: trunk/dports/games/crack-attack/Portfile

Last change on this file was 134561, checked in by jeremyhu@…, 2 years ago

misc: Revbump dependents of freeglut

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 134561 2015-03-30 08:46:40Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            crack-attack
6version         1.1.14
7revision        3
8categories      games
9platforms       darwin
10license         GPL-2
11maintainers     raimue openmaintainer
12description     Fast-paced puzzle game
13long_description \
14                Crack Attack! is a fast-paced puzzle game inspired by the \
15                classic Super NES title Tetris Attack!
16
17homepage        http://www.nongnu.org/crack-attack/
18master_sites    savannah
19
20depends_build   port:pkgconfig
21depends_lib     port:libsdl \
22                port:libsdl_mixer \
23                port:mesa \
24                port:libGLU \
25                port:freeglut \
26                port:gtk2
27
28checksums       md5     262445024b0fca44508355242ea29d71 \
29                sha1    fbf445f95d77267d23a766a485fd55edbd333bb4 \
30                rmd160  81ff2e601455362e1106cf5ef4b735cbd4497081
31
32patchfiles      patch-glut-init.diff
33
34# String.h shadows system header string.h on case-insensitive filesystems, rename to CAString.h
35patchfiles-append patch-case-insensitive-fs.diff
36post-patch {
37    file rename ${worksrcpath}/src/String.h ${worksrcpath}/src/CAString.h
38    file rename ${worksrcpath}/src/String.cxx ${worksrcpath}/src/CAString.cxx
39}
40
41use_autoreconf yes
42
43configure.args  --mandir=${prefix}/share/man \
44                --enable-gtk=yes \
45                --enable-sound=yes \
46                --with-sdl-prefix=${prefix} \
47                --with-sdl-exec-prefix=${prefix} \
48                --disable-sdltest \
49                --disable-binreloc
50
51livecheck.type  regex
52livecheck.url   ${homepage}
53livecheck.regex Latest:\\s+(\\d+(?:\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.