# $Id: Portfile 118111 2014-03-23 00:36:10Z snc@macports.org $

PortSystem 1.0

name                automake
version             1.14.1
revision            2
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  965e777f94d4cd2397c215d4e3f9673584e549ba \
                    sha256  814c2333f350ce00034a1fe718e0e4239998ceea7b0aff67e9fd273ed6dfc23b

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\])\\.

