# $Id: Portfile,v 1.8 2005/09/27 22:08:29 mww Exp $

PortSystem 1.0
name		automake
version		1.9.6
categories	devel
maintainers	mww@opendarwin.org
description	the gnu automake utility for generating Makefile.in
platforms	darwin freebsd
long_description	Automake is a tool for automatically generating \
		Makefile.in files from files called Makefile.am. Each \
		Makefile.am is basically a series of make variable \
		definitions, with rules being thrown in occasionally. The \
		generated Makefile.in files are compliant with the GNU \
		Makefile standards. 

homepage	http://www.gnu.org/software/automake/
master_sites	gnu
checksums	md5 c11b8100bb311492d8220378fd8bf9e0
use_bzip2	yes

depends_build	port:autoconf
depends_lib	bin:perl:perl5.8

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

test.run	yes
test.target	check

post-destroot	{
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog ChangeLog.00 \
		ChangeLog.01 ChangeLog.02 ChangeLog.96 ChangeLog.98 INSTALL NEWS \
		README TODO THANKS ${destroot}${prefix}/share/doc/${name}
}
