# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name			autogen
version			5.9.8
categories		devel
platforms		darwin
maintainers		mww
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:rel5.9 
checksums           md5     c95716e70d8c20a805957b8c344e4587 \
                    sha1    b507c8f8cd2cbd4a251e037f7e7e477868b6a0c5 \
                    rmd160  8354cabd8c0c93106b6c9b27f8b0da0a3dff87f0
use_bzip2		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(\[0-9\]+.\[0-9\]+.\[0-9\]+)
