Ticket #11834: Portfile.diff
File Portfile.diff, 1.8 KB (added by mvitocruz@…, 18 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 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. 5 name neverball 6 version 1.4.0 7 revision 2 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 \ 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. 15 16 16 homepage 17 homepage http://icculus.org/neverball/ 17 18 master_sites ${homepage} 18 checksums 19 patchfiles 19 checksums md5 a6cd860f1c2b7d8cecbcfc05ff228ef0 20 patchfiles patch-Makefile.diff patch-ball-main.c patch-putt-main.c 20 21 21 depends_lib 22 23 24 22 depends_lib bin:sdl-config:libsdl \ 23 lib:libSDL_image:libsdl_image \ 24 lib:libSDL_mixer:libsdl_mixer \ 25 lib:libSDL_ttf:libsdl_ttf 25 26 26 27 configure { 27 28 reinplace "s|./data|${prefix}/share/${name}|g" ${worksrcpath}/share/config.h 28 29 } 29 30 30 build.env CFLAGS=-I${prefix}/include \31 LDFLAGS=-L${prefix}/lib32 33 31 destroot { 34 32 xinstall -d -m 755 ${destroot}${prefix}/share/ 35 33 file copy ${worksrcpath}/data ${destroot}${prefix}/share/${name}