source: trunk/dports/games/bomberclone/Portfile @ 7530

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

version bump, replace 'file ..' with 'xinstall'

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.5 2004/06/16 11:49:32 mww Exp $
2
3PortSystem 1.0
4
5name            bomberclone
6version         0.11.3
7categories      games
8platforms       darwin
9maintainers     mww@opendarwin.org
10description     AtomicBomberman clone incl. networking and AI players
11long_description        Bomberclone is a clone of AtomicBomberman. It includes \
12                        AI players, network play via master/client, \
13                        configureable tile sets, etc.
14
15homepage        http://www.bomberclone.de/
16master_sites    sourceforge
17checksums       md5 3eb46856d5d6a43fe564903e87485c58
18use_bzip2       yes
19
20depends_lib     bin:sdl-config:libsdl \
21                lib:libSDL_mixer:libsdl_mixer \
22                lib:libSDL_image:libsdl_image
23
24configure.args  --disable-sdltest
25
26post-configure  {
27        reinplace "s|/doc/bomberclone|/share/doc/bomberclone|g" \
28                ${worksrcpath}/Makefile
29}
30
31pre-destroot    {
32        xinstall -m 755 -d ${destroot}${prefix}/share/games
33}
34
35variant darwin  {
36        post-destroot   {
37                xinstall -m 755 -d \
38                        ${destroot}/Applications/DarwinPorts/Bomberclone.app/Contents/MacOS
39                system "ln -s ${prefix}/bin/bomberclone \
40                        ${destroot}/Applications/DarwinPorts/Bomberclone.app/Contents/MacOS/Bomberclone"
41        }
42}
Note: See TracBrowser for help on using the repository browser.