source: trunk/dports/games/rocksndiamonds/Portfile @ 4800

Last change on this file since 4800 was 4800, checked in by mww, 16 years ago

new port games/rocksndiamonds

SDL Boulderdash clone

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.1 2004/01/17 20:58:20 mww Exp $
2
3PortSystem 1.0
4
5name            rocksndiamonds
6version         3.0.8
7categories      games
8maintainers     mww@opendarwin.org
9description     Arcade style game Boulderdash or Emerald Mine clone
10long_description        Arcade style game Boulderdash (C64) or Emerald Mine \
11                        (Amiga) clone. Included are many levels known from the \
12                        games Boulderdash, Emerald Mine, Sokoban, Supaplex and \
13                        DX-Boulderdash, level elements for Diamond Caves II \
14                        style games and a lot of new levels designed by others.
15
16homepage        http://www.artsoft.org/rocksndiamonds/
17master_sites    http://www.artsoft.org/RELEASES/unix/${name}
18checksums       md5 3b8e00464137502ed66953d412b5a3e8
19patchfiles      patch-Makefile.diff
20
21depends_lib     bin:sdl-config:libsdl \
22                lib:libSDL_image:libsdl_image \
23                lib:libSDL_mixer:libsdl_mixer
24
25configure       {
26        reinplace "s|_PREFIX_|${prefix}|g" ${worksrcpath}/Makefile
27}
28
29build.target    sdl
30
31destroot        {
32        xinstall -s -m 755 ${worksrcpath}/rocksndiamonds \
33                ${destroot}${prefix}/bin
34        file mkdir ${destroot}${prefix}/share/games/rocksndiamonds
35        file copy ${worksrcpath}/graphics ${worksrcpath}/levels \
36                ${worksrcpath}/music ${worksrcpath}/sounds \
37                ${destroot}${prefix}/share/games/rocksndiamonds
38}
Note: See TracBrowser for help on using the repository browser.