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

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

Fixing port lint, obscuring maintainer addresses on my ports, plus a couple of unmaintained ones I was last to commit to.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 28206 2007-08-24 17:24:55Z sfiera@macports.org $
2
3PortSystem 1.0
4
5name                bastet
6version             0.41
7categories          games
8platforms           darwin
9maintainers         sfiera
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.
17
18homepage            http://fph.altervista.org/prog/bastet.shtml
19master_sites        http://fph.altervista.org/prog/
20checksums           md5 48379dc98916ba083e9be5544f552a06
21extract.suffix      .tgz
22patchfiles          patch-Makefile.diff
23
24depends_lib-append port:ncurses
25
26use_configure       no
27
28build.args          PREFIX=${prefix}
29
30post-patch {
31  cd ${worksrcpath}
32  reinplace "s|termio\.h|termios.h|" bast.c
33}
34
35destroot {
36  xinstall -d 755 ${destroot}${prefix}/bin
37  xinstall -m 755 ${worksrcpath}/bastet ${destroot}${prefix}/bin/
38  xinstall -m 755 -d ${destroot}${prefix}/var/games/bastet \
39    ${destroot}${prefix}/share/doc/${name}
40  xinstall -m 666 ${filespath}/bastet.scores \
41    ${destroot}${prefix}/var/games/bastet/
42  xinstall -m 644 -W ${worksrcpath} AUTHORS BUGS COPYING NEWS README \
43    README-Petris TODO ${destroot}${prefix}/share/doc/${name}
44}
Note: See TracBrowser for help on using the repository browser.