source: trunk/dports/games/xmj/Portfile

Last change on this file was 115624, checked in by mmoll@…, 4 years ago

games/xmj: update to version 1.14

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 115624 2014-01-07 03:46:45Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup  muniversal 1.0
5
6name            xmj
7version         1.14
8categories      games x11
9platforms       darwin
10maintainers     mmoll
11license     GPL-2+
12description     X graphical mahjong multi-player game
13long_description        \
14        xmj is a multi-player version of the Chinese game of Mah-Jong. \
15        One can play against computer players or against other human \
16        players over the network.
17homepage        http://mahjong.julianbradfield.org
18distname        mj-${version}-src
19master_sites    ${homepage}/Source
20checksums           md5     c92cf8b91af13f36b07ef77afa842a94 \
21                    sha1    0ac073fabe17b8947a5552c074540606a8622de1 \
22                    rmd160  dfbea9a0d48c03c6543932137e4e7225c763f0de
23depends_build   port:pkgconfig
24depends_lib     port:gtk2
25use_configure   no
26universal_variant yes
27patch {
28    reinplace "s|/usr|${prefix}|g" ${worksrcpath}/Makefile
29}
30build.args      CDEBUGFLAGS=-O2 CC="${configure.cc} [get_canonical_archflags]"
31destroot.target install install.man
32destroot.destdir DESTDIR=${destroot}/ BINDIR=${prefix}/bin \
33        MANDIR=${prefix}/share/man/man1
34
35livecheck.type  regex
36livecheck.url   http://mahjong.julianbradfield.org/Source
37livecheck.regex mj-(\[0-9.\]+)-src\\.tar\\.gz
Note: See TracBrowser for help on using the repository browser.