# $Id: Portfile 90538 2012-03-08 13:27:13Z mww@macports.org $

PortSystem 1.0

name                autogen
version             5.15
categories          devel
platforms           darwin
maintainers         mww openmaintainer
license             GPL-3
description         tool to simplify the creation and maintenance of programs
long_description    AutoGen is a tool designed to simplify the creation \
                    and maintenance of programs that contain large amounts \
                    of repetitious text. It is especially valuable in \
                    programs that have several blocks of text that must \
                    be kept synchronized.

homepage            http://autogen.sourceforge.net/
master_sites        sourceforge gnu:autogen/rel${version} 
checksums           md5     5fba3c0e1ec0965061f27e8e79bd6da2 \
                    sha1    23f7dbe37ba85fe663f61baa9cb87c88605f7ae6 \
                    rmd160  bbfc30f297175ced045d9959c73808c5fe969dd4
use_xz              yes

depends_lib         port:guile port:libiconv port:libxml2 port:zlib port:coreutils

configure.args      --mandir=${prefix}/share/man \
                    --infodir=${prefix}/share/info

test.run            yes
test.target         check

platform darwin 8 {
    configure.cppflags-append "-D_WINT_T"
}

livecheck.type      regex
livecheck.url       http://ftp.gnu.org/gnu/${name}/?C=M&O=D
livecheck.regex     rel(\\d+(?:\\.\\d+)*)
