[78350] trunk/dports/games/bzflag/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed May 4 00:28:32 PDT 2011
Revision: 78350
http://trac.macports.org/changeset/78350
Author: ryandesign at macports.org
Date: 2011-05-04 00:28:32 -0700 (Wed, 04 May 2011)
Log Message:
-----------
bzflag: fix whitespace to match what the modeline says it is (tabs to spaces)
Modified Paths:
--------------
trunk/dports/games/bzflag/Portfile
Modified: trunk/dports/games/bzflag/Portfile
===================================================================
--- trunk/dports/games/bzflag/Portfile 2011-05-04 07:26:03 UTC (rev 78349)
+++ trunk/dports/games/bzflag/Portfile 2011-05-04 07:28:32 UTC (rev 78350)
@@ -1,59 +1,62 @@
# -*- 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
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name bzflag
-version 2.0.16
-revision 2
-categories games
-platforms darwin
-maintainers phw openmaintainer
+name bzflag
+version 2.0.16
+revision 2
+categories games
+platforms darwin
+maintainers phw openmaintainer
-description 3D tank game, multiplayer and internet gaming available
+description 3D tank game, multiplayer and internet gaming available
long_description BZFlag is a free multiplayer multiplatform 3D tank \
- battle game. The name stands for Battle Zone capture Flag.
+ battle game. The name stands for Battle Zone capture Flag.
-homepage http://bzflag.org
-master_sites http://ftp.bzflag.org/bzflag/ sourceforge
+homepage http://bzflag.org
+master_sites http://ftp.bzflag.org/bzflag/ sourceforge
+use_bzip2 yes
-use_bzip2 yes
checksums md5 161b973bee586d43ebff4695dfb8c359 \
- sha1 08e3a839fb0e4919c9244dd886c5059c076e1349 \
- rmd160 9156642183b9b33c6509737cd8e40f4ad612a657
+ sha1 08e3a839fb0e4919c9244dd886c5059c076e1349 \
+ rmd160 9156642183b9b33c6509737cd8e40f4ad612a657
+depends_lib port:curl \
+ path:lib/pkgconfig/sdl.pc:libsdl \
+ port:c-ares \
+ port:makeicns
-depends_lib port:curl path:lib/pkgconfig/sdl.pc:libsdl port:c-ares port:makeicns
+patchfiles patch-configure
-patchfiles patch-configure
+configure.args --mandir=${prefix}/share/man \
+ --libdir=${prefix}/lib/${name} \
+ --includedir=${prefix}/include/${name} \
+ --with-sdl-exec-prefix=${prefix} \
+ --disable-sdl-test \
+ --without-x
-configure.args --mandir=${prefix}/share/man --libdir=${prefix}/lib/${name} \
- --includedir=${prefix}/include/${name} \
- --with-sdl-exec-prefix=${prefix} --disable-sdl-test \
- --without-x
-
-post-destroot {
- set my_app BZFlag
- xinstall -d ${destroot}${applications_dir}/${my_app}.app/Contents/MacOS
- ln -s ${prefix}/bin/${name} ${destroot}${applications_dir}/${my_app}.app/Contents/MacOS/${my_app}
- xinstall -d ${destroot}${applications_dir}/${my_app}.app/Contents/Resources
- system "makeicns -in ${worksrcpath}/data/bzflag-256x256.png -out ${destroot}${applications_dir}/${my_app}.app/Contents/Resources/${my_app}.icns"
- system "echo '<?xml version=\"1.0\" encoding=\"UTF-8\"?>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
- system "echo '<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
- system "echo '<plist version=\"1.0\">' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
- system "echo '<dict>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
- system "echo ' <key>CFBundleExecutable</key>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
- system "echo ' <string>${my_app}</string>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
- system "echo ' <key>CFBundleIconFile</key>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
- system "echo ' <string>${my_app}.icns</string>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
- system "echo '</dict>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
- system "echo '</plist>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
+post-destroot {
+ set my_app BZFlag
+ xinstall -d ${destroot}${applications_dir}/${my_app}.app/Contents/MacOS
+ ln -s ${prefix}/bin/${name} ${destroot}${applications_dir}/${my_app}.app/Contents/MacOS/${my_app}
+ xinstall -d ${destroot}${applications_dir}/${my_app}.app/Contents/Resources
+ system "makeicns -in ${worksrcpath}/data/bzflag-256x256.png -out ${destroot}${applications_dir}/${my_app}.app/Contents/Resources/${my_app}.icns"
+ system "echo '<?xml version=\"1.0\" encoding=\"UTF-8\"?>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
+ system "echo '<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
+ system "echo '<plist version=\"1.0\">' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
+ system "echo '<dict>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
+ system "echo ' <key>CFBundleExecutable</key>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
+ system "echo ' <string>${my_app}</string>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
+ system "echo ' <key>CFBundleIconFile</key>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
+ system "echo ' <string>${my_app}.icns</string>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
+ system "echo '</dict>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
+ system "echo '</plist>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"
}
-
-platform darwin 10 {
- patchfiles-append patch-include__bzfSDL.h patch-src__platform__SDLDisplay.cxx
+platform darwin 10 {
+ patchfiles-append patch-include__bzfSDL.h patch-src__platform__SDLDisplay.cxx
}
-livecheck.type sourceforge
-livecheck.regex bzflag-(\\d+(?:\\.\\d+)*)\\.tar\\.bz2
+livecheck.type sourceforge
+livecheck.regex bzflag-(\\d+(?:\\.\\d+)*)\\.tar\\.bz2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110504/a28b5cd9/attachment.html>
More information about the macports-changes
mailing list