New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 83264


Ignore:
Timestamp:
08/29/11 02:46:33 (4 years ago)
Author:
ryandesign@…
Message:

bzflag: use app portgroup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/bzflag/Portfile

    r83263 r83264  
    33 
    44PortSystem          1.0 
     5PortGroup           app 1.0 
    56 
    67name                bzflag 
    78version             2.0.16 
    8 revision            2 
     9revision            3 
    910categories          games 
    1011platforms           darwin 
     
    2728depends_lib         port:curl \ 
    2829                    path:lib/pkgconfig/sdl.pc:libsdl \ 
    29                     port:c-ares \ 
    30                     port:makeicns 
     30                    port:c-ares 
    3131 
    3232patchfiles          patch-configure 
     
    4040                    --without-x 
    4141 
    42 post-destroot { 
    43     set my_app BZFlag 
    44     xinstall -d ${destroot}${applications_dir}/${my_app}.app/Contents/MacOS 
    45     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/Resources 
    47     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  
    6042if {${os.platform} == "darwin" && ${os.major} >= 10} { 
    6143    patchfiles-append patch-include__bzfSDL.h patch-src__platform__SDLDisplay.cxx 
    6244} 
    6345 
     46app.name            BZFlag 
     47app.icon            data/bzflag-256x256.png 
     48 
    6449livecheck.type      sourceforge 
    6550livecheck.regex     bzflag-(\\d+(?:\\.\\d+)*)\\.tar\\.bz2 
Note: See TracChangeset for help on using the changeset viewer.