source: trunk/dports/games/defendguin/Portfile @ 30554

Last change on this file since 30554 was 30554, checked in by ryandesign@…, 12 years ago

defendguin:

  • update to 0.0.11
  • add sha1 and rmd160 checksums
  • change dependencies to port:X style instead of lib:X:X style
  • install documentation to versioned directory
  • use xinstall instead of file copy and file mkdir
  • don't need to use system to create symlinks
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 30554 2007-10-31 05:23:46Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            defendguin
6version         0.0.11
7categories      games
8platforms       darwin
9maintainers     nomaintainer
10description     clone of the classic arcade game Defender
11long_description        Defendguin is based loosely on Williams classic \
12                        arcade game, Defender. Some recognizable stars in \
13                        the realm of modern operating systems should be fairly \
14                        obvious. Story: A certain monopoly-owning bad guy has \
15                        been cloned hundreds of times by an unknown alien \
16                        race. They are now attacking earth, kidnapping little \
17                        penguinoids and converting them into mutants. Helping \
18                        them on their way are some other nasty alien ships, of \
19                        which there are plenty...
20
21homepage        http://www.newbreedsoftware.com/defendguin/
22master_sites    ftp://ftp.billsgames.com/unix/x/defendguin/src/
23
24checksums \
25        md5 c8040e39f199c5338625066025ec2395 \
26        sha1 e7d9e31aebe5d43d854170fcbbf82eaf8daa4ea4 \
27        rmd160 383c40d5091aad917b290506cd1e1527531e106c
28
29depends_lib     port:libsdl \
30                port:libsdl_mixer
31
32use_configure   no
33
34build.env       CFLAGS=-I${prefix}/include \
35                LDFLAGS=-L${prefix}/lib
36
37build.args      PREFIX=${prefix} \
38                JOY=NO
39
40destroot.args   PREFIX=${destroot}${prefix} \
41                MAN_PREFIX=${destroot}${prefix}/share
42
43post-destroot   {
44        set docdir ${destroot}${prefix}/share/doc/${name}-${version}
45        xinstall -d ${docdir}
46        xinstall -W ${worksrcpath}/docs \
47                AUTHORS.txt \
48                CHANGES.txt \
49                COPYING.txt \
50                INSTALL.txt \
51                README.txt \
52                TODO.txt \
53                ${docdir}
54}
55
56platform darwin {
57        post-destroot   {
58                xinstall -d ${destroot}/Applications/MacPorts/Defendguin.app/Contents/MacOS
59                ln -s ${prefix}/bin/defendguin \
60                        ${destroot}/Applications/MacPorts/Defendguin.app/Contents/MacOS/Defendguin
61        }
62}
Note: See TracBrowser for help on using the repository browser.