Ticket #11834: Portfile.diff

File Portfile.diff, 1.8 KB (added by mvitocruz@…, 17 years ago)

Portfile diff

  • Portfile

     
    22
    33PortSystem 1.0
    44
    5 name                    neverball
    6 version                 1.4.0
    7 revision                1
    8 categories              games
    9 platforms               darwin
    10 maintainers             mvitocruz@gmail.com
    11 description             Tilt the floor to roll a ball through an obstacle course.
    12 long_description        Tilt the floor to roll a ball through an obstacle \
    13                                 course before time runs out. Neverball is part puzzle \
    14                                 game, part action game, and entirely a test of skill.
     5name            neverball
     6version         1.4.0
     7revision        2
     8categories      games
     9platforms       darwin
     10maintainers     mvitocruz@gmail.com
     11description     Tilt the floor to roll a ball through an obstacle course.
     12long_description        \
     13                Tilt the floor to roll a ball through an obstacle     \
     14                course before time runs out. Neverball is part puzzle \
     15                game, part action game, and entirely a test of skill.
    1516
    16 homepage                http://icculus.org/neverball/
     17homepage        http://icculus.org/neverball/
    1718master_sites    ${homepage}
    18 checksums               md5 a6cd860f1c2b7d8cecbcfc05ff228ef0
    19 patchfiles              patch-Makefile.diff patch-ball-main.c patch-putt-main.c
     19checksums       md5 a6cd860f1c2b7d8cecbcfc05ff228ef0
     20patchfiles      patch-Makefile.diff patch-ball-main.c patch-putt-main.c
    2021
    21 depends_lib             bin:sdl-config:libsdl \
    22                                 lib:libSDL_image:libsdl_image \
    23                                 lib:libSDL_mixer:libsdl_mixer \
    24                                 lib:libSDL_ttf:libsdl_ttf
     22depends_lib     bin:sdl-config:libsdl \
     23                lib:libSDL_image:libsdl_image \
     24                lib:libSDL_mixer:libsdl_mixer \
     25                lib:libSDL_ttf:libsdl_ttf
    2526
    2627configure {
    2728        reinplace "s|./data|${prefix}/share/${name}|g" ${worksrcpath}/share/config.h
    2829}
    2930
    30 build.env               CFLAGS=-I${prefix}/include \
    31                                 LDFLAGS=-L${prefix}/lib
    32 
    3331destroot {
    3432        xinstall -d -m 755 ${destroot}${prefix}/share/
    3533        file copy ${worksrcpath}/data ${destroot}${prefix}/share/${name}