Revision: 38849 http://trac.macosforge.org/projects/macports/changeset/38849 Author: ryandesign@macports.org Date: 2008-08-01 03:28:05 -0700 (Fri, 01 Aug 2008) Log Message: ----------- alienblaster: whitespace changes only Modified Paths: -------------- trunk/dports/games/alienblaster/Portfile Modified: trunk/dports/games/alienblaster/Portfile =================================================================== --- trunk/dports/games/alienblaster/Portfile 2008-08-01 10:26:41 UTC (rev 38848) +++ trunk/dports/games/alienblaster/Portfile 2008-08-01 10:28:05 UTC (rev 38849) @@ -1,50 +1,52 @@ # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name alienblaster -version 1.1.0 -categories games -platforms darwin -maintainers nomaintainer -description action loaded 2D arcade shooter for up to two players -long_description ${description} +name alienblaster +version 1.1.0 +categories games +platforms darwin +maintainers nomaintainer -homepage http://www.schwardtnet.de/alienblaster/ -master_sites ${homepage}archives/ -extract.suffix .tgz -checksums md5 27412a868f7d4ae0949036aeb29a6691 +description action loaded 2D arcade shooter for up to two players +long_description ${description} -depends_lib bin:sdl-config:libsdl \ - lib:libSDL_mixer:libsdl_mixer +homepage http://www.schwardtnet.de/alienblaster/ +master_sites ${homepage}archives/ +extract.suffix .tgz -worksrcdir ${name} +checksums md5 27412a868f7d4ae0949036aeb29a6691 -configure { - reinplace "s|./images|${prefix}/share/${name}/images|g" \ - ${worksrcpath}/src/global.h \ - ${worksrcpath}/src/global.cc \ - ${worksrcpath}/cfg/level1.cfg \ - ${worksrcpath}/cfg/level2.cfg \ - ${worksrcpath}/cfg/levelArcade.cfg - reinplace "s|=images/|=${prefix}/share/${name}/images/|g" \ - ${worksrcpath}/cfg/level1.cfg \ - ${worksrcpath}/cfg/level2.cfg \ - ${worksrcpath}/cfg/levelArcade.cfg - reinplace "s|./cfg|${prefix}/etc/${name}|g" \ - ${worksrcpath}/src/global.h \ - ${worksrcpath}/src/global.cc - reinplace "s|./sound|${prefix}/share/${name}/sound|g" \ - ${worksrcpath}/src/global.h \ - ${worksrcpath}/src/global.cc +depends_lib bin:sdl-config:libsdl \ + lib:libSDL_mixer:libsdl_mixer + +worksrcdir ${name} + +configure { + reinplace "s|./images|${prefix}/share/${name}/images|g" \ + ${worksrcpath}/src/global.h \ + ${worksrcpath}/src/global.cc \ + ${worksrcpath}/cfg/level1.cfg \ + ${worksrcpath}/cfg/level2.cfg \ + ${worksrcpath}/cfg/levelArcade.cfg + reinplace "s|=images/|=${prefix}/share/${name}/images/|g" \ + ${worksrcpath}/cfg/level1.cfg \ + ${worksrcpath}/cfg/level2.cfg \ + ${worksrcpath}/cfg/levelArcade.cfg + reinplace "s|./cfg|${prefix}/etc/${name}|g" \ + ${worksrcpath}/src/global.h \ + ${worksrcpath}/src/global.cc + reinplace "s|./sound|${prefix}/share/${name}/sound|g" \ + ${worksrcpath}/src/global.h \ + ${worksrcpath}/src/global.cc } -destroot { - xinstall -m 755 -s ${worksrcpath}/alienblaster ${destroot}${prefix}/bin - xinstall -m 755 -d ${destroot}${prefix}/share/${name} - file copy ${worksrcpath}/sound ${destroot}${prefix}/share/${name} - file copy ${worksrcpath}/images ${destroot}${prefix}/share/${name} - file copy ${worksrcpath}/cfg ${destroot}${prefix}/etc/${name} +destroot { + xinstall -m 755 -s ${worksrcpath}/alienblaster ${destroot}${prefix}/bin + xinstall -m 755 -d ${destroot}${prefix}/share/${name} + file copy ${worksrcpath}/sound ${destroot}${prefix}/share/${name} + file copy ${worksrcpath}/images ${destroot}${prefix}/share/${name} + file copy ${worksrcpath}/cfg ${destroot}${prefix}/etc/${name} } # Can be removed once MacPorts 1.7.0 is released @@ -52,9 +54,9 @@ set applications_dir /Applications/MacPorts } -platform darwin { - post-destroot { - xinstall -m 755 -d ${destroot}${applications_dir}/AlienBlaster.app/Contents/MacOS - ln -s ${prefix}/bin/alienblaster ${destroot}${applications_dir}/AlienBlaster.app/Contents/MacOS/AlienBlaster - } +platform darwin { + post-destroot { + xinstall -m 755 -d ${destroot}${applications_dir}/AlienBlaster.app/Contents/MacOS + ln -s ${prefix}/bin/alienblaster ${destroot}${applications_dir}/AlienBlaster.app/Contents/MacOS/AlienBlaster + } }
participants (1)
-
ryandesign@macports.org