source: trunk/dports/games/digger/Portfile @ 4408

Last change on this file since 4408 was 4408, checked in by mww, 17 years ago

new port games/digger

  • Property svn:eol-style set to native
File size: 989 bytes
Line 
1# $Id: Portfile,v 1.1 2004/01/01 22:41:12 mww Exp $
2
3PortSystem 1.0
4
5name            digger
6version         20020314
7categories      games
8platforms       darwin
9maintainers     mww@opendarwin.org
10description     the Digger game
11long_description        ${description}
12
13homepage        http://www.digger.org
14master_sites    ${homepage}
15checksums       md5 76c1e8ae3c4566dad65e91adbfe29570
16patchfiles      patch-alpha.c.diff \
17                patch-def.h.diff \
18                patch-digger.c.diff \
19                patch-input.c.diff \
20                patch-scores.c.diff \
21                patch-input.h.diff \
22                patch-main.c.diff
23
24depends_lib     bin:sdl-config:libsdl
25
26post-extract    {
27        file copy ${filespath}/Makefile.darwin ${worksrcpath}/Makefile
28}
29
30use_configure   no
31
32variant darwin  {
33        destroot        {
34                file mkdir ${destroot}/Applications/DarwinPorts/Digger.app/Contents/MacOS \
35                        ${destroot}${prefix}/share/doc/${name}
36                xinstall -mode 755 -s ${worksrcpath}/digger \
37                        ${destroot}/Applications/DarwinPorts/Digger.app/Contents/MacOS/Digger
38                file copy ${worksrcpath}/digger.txt \
39                        ${destroot}${prefix}/share/doc/${name}
40        }
41}
Note: See TracBrowser for help on using the repository browser.