# $Id: Portfile 48848 2009-03-30 04:09:53Z blb@macports.org $

PortSystem          1.0
name                freeciv-x11
version             2.1.9
categories          games
maintainers         blb openmaintainer
description         A civilisation clone for X11
long_description \
   Freeciv is a Free and Open Source empire-building strategy game \
   inspired by the history of human civilization. The game commences in \
   prehistory and your mission is to lead your tribe from the stone age \
   to the space age...

platforms           darwin

homepage            http://www.freeciv.org/
master_sites        sourceforge:freeciv ftp://ftp.freeciv.org/freeciv/stable/
distname            freeciv-${version}
dist_subdir         freeciv
use_bzip2           yes

checksums           md5     caffaa201b2f5dfdfe00b6e6c3f32fb1 \
                    sha1    01a3500a9d0f9d9c9b95b7c4b57f2446f671a900 \
                    rmd160  cbe12facbbf00a85410e1324eb6ba3f2351ea1f1

depends_lib         port:gettext port:libiconv port:readline port:gtk2 \
                    port:zlib

configure.args      --enable-client=gtk2 --with-readline --with-zlib \
                    --enable-nls --with-libiconv-prefix=${prefix} \
                    --mandir=${prefix}/share/man --disable-sdl-mixer

livecheck.check     regex
livecheck.url       ${homepage}
livecheck.regex     freeciv-(\[0-9\.\]+).tar.bz2

