Ticket #11788: bastet.diff

File bastet.diff, 1.5 KB (added by chpickel@…, 18 years ago)

Patch to Portfile

  • Portfile

     
    33PortSystem 1.0
    44
    55name            bastet
    6 version         0.37
     6version         0.41
    77categories      games
    88platforms       darwin
    9 maintainers     nomaintainer@macports.org
     9maintainers     chpickel@stwing.upenn.edu
    1010description     bastard tetris is a yucky tetris clone
    1111long_description        Bastet stands for bastard tetris, and is a Tetris(R) \
    1212                        clone which, instead of choosing your next brick at \
     
    1616
    1717homepage        http://fph.altervista.org/prog/bastet.shtml
    1818master_sites    http://fph.altervista.org/prog/
    19 checksums       md5 0a92c5dd9b6cdcec639cf8d9708e3f54
     19checksums       md5 48379dc98916ba083e9be5544f552a06
    2020extract.suffix  .tgz
    2121patchfiles      patch-Makefile.diff
    2222
     23depends_lib-append port:ncurses
     24
    2325use_configure   no
    2426
    2527build.args      PREFIX=${prefix}
    2628
     29post-patch {
     30  cd ${worksrcpath}
     31  reinplace "s|termio\.h|termios.h|" bast.c
     32}
     33
    2734destroot        {
    2835        xinstall -m 755 ${worksrcpath}/bastet ${destroot}${prefix}/bin/
    2936        xinstall -m 755 -d ${destroot}${prefix}/var/games/bastet \
    30                 ${detsroot}${prefix}/share/doc/${name}
     37                ${destroot}${prefix}/share/doc/${name}
    3138        xinstall -m 666 ${filespath}/bastet.scores \
    3239                ${destroot}${prefix}/var/games/bastet/
    33         xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING HISTORY README \
    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}
    3542}