# $Id: Portfile 107382 2013-06-26 18:49:54Z mww@macports.org $

PortSystem 1.0

name                automake
version             1.14
categories          devel
license             {GPL-2+ Permissive}
installs_libs       no
maintainers         mww openmaintainer
description         the gnu automake utility for generating Makefile.in
platforms           darwin freebsd
supported_archs     noarch
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           rmd160  315421b13db09cc25a79428671b7dbaa881f4494 \
                    sha256  7847424d4204d1627c129e9c15b81e145836afa2a1bf9003ffe10aa26ea75755

depends_build       port:autoconf
depends_lib         path:bin/perl:perl5

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

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 \
        HACKING INSTALL NEWS README THANKS \
        ${destroot}${prefix}/share/doc/${name}
}

livecheck.type      regex
livecheck.url       http://ftp.gnu.org/gnu/${name}/?C=M&O=D
livecheck.regex     automake-(\[0-9\\\.]+\[0-9\])\\.

