Changeset 82703
- Timestamp:
- 08/18/11 12:04:25 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/games/ship84/Portfile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/games/ship84/Portfile
r82702 r82703 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 1 2 # $Id$ 2 3 3 PortSystem 1.04 PortSystem 1.0 4 5 5 name ship84 6 version 1.3.3.7 7 revision 1 8 categories games 9 platforms darwin 10 maintainers nomaintainer 11 description space invaders clone using SDL 12 long_description The Angryfez Army and their minions have pointed the \ 13 ultimate battle at earth! Only Happyfez can save the \ 14 day! 6 name ship84 7 version 1.3.3.7 8 revision 1 9 categories games 10 platforms darwin 11 maintainers nomaintainer 12 13 description space invaders clone using SDL 14 15 long_description The Angryfez Army and their minions have pointed the \ 16 ultimate battle at earth! Only Happyfez can save the \ 17 day! 15 18 16 19 homepage http://sourceforge.net/projects/ship84/ 17 20 master_sites sourceforge:project/ship84/Shippy1984%20UNIX/Shippy1984%20v${version} 18 21 19 distname shipv${version}UNIX 20 use_zip yes 21 checksums md5 06df2ae060fe4a076d7fa17a57205348 22 patchfiles patch-GNUmakefile.diff \ 23 patch-shipsdl.c.diff \ 24 patch-shippy.c.diff 22 distname shipv${version}UNIX 23 use_zip yes 25 24 26 depends_lib bin:sdl-config:libsdl \ 27 lib:libSDL_mixer:libsdl_mixer 25 checksums md5 06df2ae060fe4a076d7fa17a57205348 28 26 29 set worksrcpath ${workpath} 27 patchfiles patch-GNUmakefile.diff \ 28 patch-shipsdl.c.diff \ 29 patch-shippy.c.diff 30 30 31 configure { 32 reinplace "s|data/|${prefix}/share/games/${name}/|g" \ 33 ${worksrcpath}/shipall.c \ 34 ${worksrcpath}/shippy.c \ 35 ${worksrcpath}/shipsdl.c 31 depends_lib bin:sdl-config:libsdl \ 32 lib:libSDL_mixer:libsdl_mixer 33 34 set worksrcpath ${workpath} 35 36 configure { 37 reinplace "s|data/|${prefix}/share/games/${name}/|g" \ 38 ${worksrcpath}/shipall.c \ 39 ${worksrcpath}/shippy.c \ 40 ${worksrcpath}/shipsdl.c 36 41 } 37 build.dir ${workpath}38 build.type gnu39 build.args -f GNUmakefile40 42 41 destroot { 42 xinstall -m 755 -d ${destroot}${prefix}/bin \ 43 ${destroot}${prefix}/share/games 44 xinstall -m 755 -s ${worksrcpath}/shippy ${destroot}${prefix}/bin 45 file copy ${worksrcpath}/data ${destroot}${prefix}/share/games/${name} 43 build.dir ${workpath} 44 build.type gnu 45 build.args -f GNUmakefile 46 47 destroot { 48 xinstall -m 755 -d ${destroot}${prefix}/bin \ 49 ${destroot}${prefix}/share/games 50 xinstall -m 755 -s ${worksrcpath}/shippy ${destroot}${prefix}/bin 51 file copy ${worksrcpath}/data ${destroot}${prefix}/share/games/${name} 46 52 } 53 47 54 platform darwin { 48 post-destroot {49 xinstall -d -m 755 ${destroot}/Applications/MacPorts/Ship84.app/Contents/MacOS50 system "ln -sf ${prefix}/bin/shippy \51 ${destroot}/Applications/MacPorts/Ship84.app/Contents/MacOS/Ship84"52 }55 post-destroot { 56 xinstall -d -m 755 ${destroot}/Applications/MacPorts/Ship84.app/Contents/MacOS 57 system "ln -sf ${prefix}/bin/shippy \ 58 ${destroot}/Applications/MacPorts/Ship84.app/Contents/MacOS/Ship84" 59 } 53 60 } 54 61
Note: See TracChangeset
for help on using the changeset viewer.

