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

Last change on this file since 115268 was 115268, checked in by ryandesign@…, 7 years ago

bastet: fix master_sites (#41913; maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
2# $Id: Portfile 115268 2013-12-30 12:18:52Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                bastet
7version             0.41
8categories          games
9platforms           darwin
10maintainers         sfiera
11description         Bastard Tetris is an antagonistic Tetris clone
12long_description \
13  Bastet stands for bastard tetris, and is a Tetris(R) \
14  clone which, instead of choosing your next brick at \
15  random, expressly checks to see which one causes you \
16  the most trouble. Playing Bastet can be a painful \
17  experience.
18
19homepage            http://fph.altervista.org/prog/bastet.shtml
20master_sites        http://fph.altervista.org/prog/files/
21checksums           md5 48379dc98916ba083e9be5544f552a06
22extract.suffix      .tgz
23patchfiles          patch-Makefile.diff
24
25depends_lib-append port:ncurses
26
27use_configure       no
28
29build.args          PREFIX=${prefix}
30
31post-patch {
32  reinplace "s|termio\.h|termios.h|" ${worksrcpath}/bast.c
33}
34
35destroot {
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}
44
45livecheck.type  regex
46livecheck.url   ${homepage}
47livecheck.regex {version (\d+\.\d+)}
Note: See TracBrowser for help on using the repository browser.