Changeset 83264
- Timestamp:
- 08/29/11 02:46:33 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/games/bzflag/Portfile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/games/bzflag/Portfile
r83263 r83264 3 3 4 4 PortSystem 1.0 5 PortGroup app 1.0 5 6 6 7 name bzflag 7 8 version 2.0.16 8 revision 29 revision 3 9 10 categories games 10 11 platforms darwin … … 27 28 depends_lib port:curl \ 28 29 path:lib/pkgconfig/sdl.pc:libsdl \ 29 port:c-ares \ 30 port:makeicns 30 port:c-ares 31 31 32 32 patchfiles patch-configure … … 40 40 --without-x 41 41 42 post-destroot {43 set my_app BZFlag44 xinstall -d ${destroot}${applications_dir}/${my_app}.app/Contents/MacOS45 ln -s ${prefix}/bin/${name} ${destroot}${applications_dir}/${my_app}.app/Contents/MacOS/${my_app}46 xinstall -d ${destroot}${applications_dir}/${my_app}.app/Contents/Resources47 system "makeicns -in ${worksrcpath}/data/bzflag-256x256.png -out ${destroot}${applications_dir}/${my_app}.app/Contents/Resources/${my_app}.icns"48 system "echo '<?xml version=\"1.0\" encoding=\"UTF-8\"?>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"49 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"50 system "echo '<plist version=\"1.0\">' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"51 system "echo '<dict>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"52 system "echo ' <key>CFBundleExecutable</key>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"53 system "echo ' <string>${my_app}</string>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"54 system "echo ' <key>CFBundleIconFile</key>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"55 system "echo ' <string>${my_app}.icns</string>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"56 system "echo '</dict>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"57 system "echo '</plist>' >> ${destroot}${applications_dir}/${my_app}.app/Contents/Info.plist"58 }59 60 42 if {${os.platform} == "darwin" && ${os.major} >= 10} { 61 43 patchfiles-append patch-include__bzfSDL.h patch-src__platform__SDLDisplay.cxx 62 44 } 63 45 46 app.name BZFlag 47 app.icon data/bzflag-256x256.png 48 64 49 livecheck.type sourceforge 65 50 livecheck.regex bzflag-(\\d+(?:\\.\\d+)*)\\.tar\\.bz2
Note: See TracChangeset
for help on using the changeset viewer.

