source: trunk/dports/games/bastet/Portfile @ 24204

Last change on this file since 24204 was 24204, checked in by sfiera@…, 14 years ago

Updated maintainer address to @macports.org, style changes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 24204 2007-04-19 05:54:27Z sfiera@macports.org $
2
3PortSystem 1.0
4
5name                bastet
6version             0.41
7categories          games
8platforms           darwin
9maintainers         sfiera@macports.org
10description         Bastard Tetris is an antagonistic Tetris clone
11long_description \
12  Bastet stands for bastard tetris, and is a Tetris(R) \
13  clone which, instead of choosing your next brick at \
14  random, expressly checks to see which one causes you \
15  the most trouble. Playing Bastet can be a painful \
16  experience.
17homepage            http://fph.altervista.org/prog/bastet.shtml
18master_sites        http://fph.altervista.org/prog/
19checksums           md5 48379dc98916ba083e9be5544f552a06
20extract.suffix      .tgz
21patchfiles          patch-Makefile.diff
22                   
23depends_lib-append port:ncurses
24
25use_configure       no
26
27build.args          PREFIX=${prefix}
28
29post-patch {
30  cd ${worksrcpath}
31  reinplace "s|termio\.h|termios.h|" bast.c
32}
33
34destroot {
35  xinstall -d 755 ${destroot}${prefix}/bin
36  xinstall -m 755 ${worksrcpath}/bastet ${destroot}${prefix}/bin/
37  xinstall -m 755 -d ${destroot}${prefix}/var/games/bastet \
38    ${destroot}${prefix}/share/doc/${name}
39  xinstall -m 666 ${filespath}/bastet.scores \
40    ${destroot}${prefix}/var/games/bastet/
41  xinstall -m 644 -W ${worksrcpath} AUTHORS BUGS COPYING NEWS README \
42    README-Petris TODO ${destroot}${prefix}/share/doc/${name}
43}
Note: See TracBrowser for help on using the repository browser.