Ticket #2685: Portfile.diff

File Portfile.diff, 1.5 KB (added by mvitocruz@…, 20 years ago)

Diff to Portfile

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/games/neverball/Portfile,v
    retrieving revision 1.7
    diff -u -r1.7 Portfile
     
    33PortSystem 1.0
    44
    55name            neverball
    6 version         1.3.7
     6version         1.4.0
    77categories      games
    88platforms       darwin
    99maintainers     mww@opendarwin.org
     
    1414
    1515homepage        http://icculus.org/neverball/
    1616master_sites    ${homepage}
    17 checksums       md5 b7c0fe079ab88b63b77dd3e3f06819e8
    18 patchfiles      patch-Makefile.diff
     17checksums       md5 a6cd860f1c2b7d8cecbcfc05ff228ef0
     18patchfiles      patch-Makefile.diff patch-ball-main.c patch-putt-main.c
    1919
    2020depends_lib     bin:sdl-config:libsdl \
    2121                lib:libSDL_image:libsdl_image \
     
    3434        xinstall -d -m 755 ${destroot}${prefix}/share/
    3535        file copy ${worksrcpath}/data ${destroot}${prefix}/share/${name}
    3636        xinstall -s -m 755 ${worksrcpath}/neverball ${destroot}${prefix}/bin
     37        xinstall -s -m 755 ${worksrcpath}/neverputt ${destroot}${prefix}/bin
    3738}
    3839
    3940variant darwin  {
     
    4142                xinstall -d -m 755 ${destroot}/Applications/DarwinPorts/Neverball.app/Contents/MacOS
    4243                system "ln -s ${prefix}/bin/neverball \
    4344                        ${destroot}/Applications/DarwinPorts/Neverball.app/Contents/MacOS/Neverball"
     45                xinstall -d -m 755 ${destroot}/Applications/DarwinPorts/Neverputt.app/Contents/MacOS
     46                system "ln -s ${prefix}/bin/neverputt \
     47                        ${destroot}/Applications/DarwinPorts/Neverputt.app/Contents/MacOS/Neverputt"
    4448        }
    4549}