source: trunk/dports/games/rocksndiamonds/Portfile

Last change on this file was 129143, checked in by petr@…, 3 years ago

CrimsonFields bomberclone rocksndiamonds rott: set nomaintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 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 129143 2014-12-07 18:56:48Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           app 1.0
6
7name                rocksndiamonds
8version             3.3.0.1
9revision            1
10categories          games
11platforms           darwin
12maintainers         nomaintainer
13license             GPL-2+
14
15description         Arcade style game Boulderdash or Emerald Mine clone
16long_description    Arcade style game Boulderdash (C64) or Emerald Mine \
17                    (Amiga) clone. Included are many levels known from the \
18                    games Boulderdash, Emerald Mine, Sokoban, Supaplex and \
19                    DX-Boulderdash, level elements for Diamond Caves II \
20                    style games and a lot of new levels designed by others.
21
22homepage            http://www.artsoft.org/rocksndiamonds/
23master_sites        http://www.artsoft.org/RELEASES/unix/${name}
24checksums           md5     813ced99d54f89db7c593c518d197d18 \
25                    sha1    529612c95355292fb76d0b954ce51f7cb54dc22a \
26                    rmd160  44f8bec6be74ce0346ec6826844d923cc69069a6
27
28patchfiles          patch-Makefile.diff
29
30depends_lib         port:libsdl \
31                    port:libsdl_image \
32                    port:libsdl_mixer \
33                    port:libsdl_net
34
35post-patch {
36    reinplace "s|_PREFIX_|${prefix}|g" ${worksrcpath}/Makefile
37}
38
39use_configure       no
40
41# ranlib: archive member: game_sp.a(main.o) size too large (archive member extends past the end of the file)
42use_parallel_build  no
43
44build.target        sdl
45build.args          CC="${configure.cc} [get_canonical_archflags]"
46
47destroot {
48    xinstall -s -m 755 ${worksrcpath}/rocksndiamonds ${destroot}${prefix}/bin
49    file mkdir ${destroot}${prefix}/share/games/rocksndiamonds
50    file copy ${worksrcpath}/graphics ${worksrcpath}/levels \
51        ${worksrcpath}/music ${worksrcpath}/sounds \
52        ${destroot}${prefix}/share/games/rocksndiamonds
53}
54
55app.name            Rocks'n'Diamonds
56#app.icon           graphics/gfx_classic/rocks_icon_32x32.pcx
57app.icon            ${filespath}/rocks_icon_32x32.png
58
59# convert work/rocksndiamonds-*/graphics/gfx_classic/rocks_icon_32x32.pcx -transparent '#000000' /tmp/rocks.png
60# pngcrush /tmp/rocks.png files/rocks_icon_32x32.png
61
62livecheck.type      regex
63livecheck.url       ${homepage}/download.html
64livecheck.regex     "Rocks'n'Diamonds (\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.