# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
# $Id: Portfile 68000 2010-05-24 07:43:33Z blb@macports.org $

PortSystem          1.0
name                freeciv
version             2.2.1
categories          games
maintainers         nomaintainer
description         An empire-building strategy game
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           macosx

homepage            http://www.freeciv.org/
master_sites        sourceforge ftp://ftp.freeciv.org/freeciv/stable/
use_bzip2           yes

checksums           md5     b43269e38ecd32cb09850778befc72b3 \
                    sha1    f9d141a04e447a57f4fc001dbd789d92717735e4 \
                    rmd160  d6d3fd99946e339b63b6e2cfc0e365e8228dc142

conflicts           freeciv-x11

depends_lib         port:freetype port:libpng port:libsdl port:libsdl_image \
                    port:libsdl_mixer port:readline port:libiconv port:zlib

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

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

