# $Id: Portfile 68000 2010-05-24 07:43:33Z blb@macports.org $

PortSystem          1.0
name                freeciv-x11
version             2.2.1
categories          games
maintainers         nomaintainer
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     b43269e38ecd32cb09850778befc72b3 \
                    sha1    f9d141a04e447a57f4fc001dbd789d92717735e4 \
                    rmd160  d6d3fd99946e339b63b6e2cfc0e365e8228dc142

conflicts           freeciv

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.type      regex
livecheck.url       ${homepage}
livecheck.regex     freeciv-(\[0-9\.\]+).tar.bz2

