Changeset 30554 for trunk/dports/games


Ignore:
Timestamp:
Oct 31, 2007, 5:23:46 AM (12 years ago)
Author:
ryandesign@…
Message:

defendguin:

  • update to 0.0.11
  • add sha1 and rmd160 checksums
  • change dependencies to port:X style instead of lib:X:X style
  • install documentation to versioned directory
  • use xinstall instead of file copy and file mkdir
  • don't need to use system to create symlinks
File:
1 edited

Legend:

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

    r30553 r30554  
    44
    55name            defendguin
    6 version         0.0.10
     6version         0.0.11
    77categories      games
    88platforms       darwin
     
    2121homepage        http://www.newbreedsoftware.com/defendguin/
    2222master_sites    ftp://ftp.billsgames.com/unix/x/defendguin/src/
    23 checksums       md5 83f3ac061be1ed21648c16665ac0984b
    2423
    25 depends_lib     bin:sdl-config:libsdl \
    26                 lib:libSDL_mixer:libsdl_mixer
     24checksums \
     25        md5 c8040e39f199c5338625066025ec2395 \
     26        sha1 e7d9e31aebe5d43d854170fcbbf82eaf8daa4ea4 \
     27        rmd160 383c40d5091aad917b290506cd1e1527531e106c
     28
     29depends_lib     port:libsdl \
     30                port:libsdl_mixer
    2731
    2832use_configure   no
     
    3741                MAN_PREFIX=${destroot}${prefix}/share
    3842
    39 pre-destroot    {
    40         file mkdir ${destroot}${prefix}/share/doc/${name}
    41         file copy ${worksrcpath}/CHANGES.txt ${worksrcpath}/COPYING.txt \
    42                 ${worksrcpath}/README.txt ${worksrcpath}/AUTHORS.txt \
    43                 ${worksrcpath}/INSTALL.txt ${worksrcpath}/TODO.txt \
    44                 ${destroot}${prefix}/share/doc/${name}
     43post-destroot   {
     44        set docdir ${destroot}${prefix}/share/doc/${name}-${version}
     45        xinstall -d ${docdir}
     46        xinstall -W ${worksrcpath}/docs \
     47                AUTHORS.txt \
     48                CHANGES.txt \
     49                COPYING.txt \
     50                INSTALL.txt \
     51                README.txt \
     52                TODO.txt \
     53                ${docdir}
    4554}
    4655
    4756platform darwin {
    4857        post-destroot   {
    49                 file mkdir ${destroot}/Applications/MacPorts/Defendguin.app/Contents/MacOS
    50                 system "ln -s ${prefix}/bin/defendguin \
    51                         ${destroot}/Applications/MacPorts/Defendguin.app/Contents/MacOS/Defendguin"
     58                xinstall -d ${destroot}/Applications/MacPorts/Defendguin.app/Contents/MacOS
     59                ln -s ${prefix}/bin/defendguin \
     60                        ${destroot}/Applications/MacPorts/Defendguin.app/Contents/MacOS/Defendguin
    5261        }
    5362}
Note: See TracChangeset for help on using the changeset viewer.