Ticket #11788: bastet.diff
File bastet.diff, 1.5 KB (added by chpickel@…, 18 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name bastet 6 version 0. 376 version 0.41 7 7 categories games 8 8 platforms darwin 9 maintainers nomaintainer@macports.org9 maintainers chpickel@stwing.upenn.edu 10 10 description bastard tetris is a yucky tetris clone 11 11 long_description Bastet stands for bastard tetris, and is a Tetris(R) \ 12 12 clone which, instead of choosing your next brick at \ … … 16 16 17 17 homepage http://fph.altervista.org/prog/bastet.shtml 18 18 master_sites http://fph.altervista.org/prog/ 19 checksums md5 0a92c5dd9b6cdcec639cf8d9708e3f5419 checksums md5 48379dc98916ba083e9be5544f552a06 20 20 extract.suffix .tgz 21 21 patchfiles patch-Makefile.diff 22 22 23 depends_lib-append port:ncurses 24 23 25 use_configure no 24 26 25 27 build.args PREFIX=${prefix} 26 28 29 post-patch { 30 cd ${worksrcpath} 31 reinplace "s|termio\.h|termios.h|" bast.c 32 } 33 27 34 destroot { 28 35 xinstall -m 755 ${worksrcpath}/bastet ${destroot}${prefix}/bin/ 29 36 xinstall -m 755 -d ${destroot}${prefix}/var/games/bastet \ 30 ${de tsroot}${prefix}/share/doc/${name}37 ${destroot}${prefix}/share/doc/${name} 31 38 xinstall -m 666 ${filespath}/bastet.scores \ 32 39 ${destroot}${prefix}/var/games/bastet/ 33 xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING HISTORYREADME \34 README-Petris ${detsroot}${prefix}/share/doc/${name}40 xinstall -m 644 -W ${worksrcpath} AUTHORS BUGS COPYING NEWS README \ 41 README-Petris TODO ${destroot}${prefix}/share/doc/${name} 35 42 }