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

Last change on this file since 12343 was 12343, checked in by mww, 15 years ago

Bug: #3152
Reported by: osx@…
Reviewed by: mww@

correct checksum for changed distfile, remove unnecessary patch

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