# $Id: Portfile 68246 2010-05-29 22:34:00Z jeremyhu@macports.org $

PortSystem              1.0

name                    autoconf213
version                 2.13
revision                1
categories              devel
maintainers             nomaintainer
platforms               darwin
homepage                http://www.gnu.org/software/autoconf/
master_sites            gnu:autoconf
distname                autoconf-${version}

if {[info exists supported_archs]} {
    supported_archs noarch
} else {
    universal_variant no
}

description \
    Automatically configures software for compilation

long_description \
    Autoconf is an extensible package of m4 macros that produce \
    shell scripts to automatically configure software source code \
    packages. These scripts can adapt the packages to many kinds \
    of UNIX-like systems without manual user intervention. \
    Autoconf creates a configuration script for a package from a \
    template file that lists the operating system features that \
    the package can use, in the form of m4 macro calls.

checksums               md5     9de56d4a161a723228220b0f425dc711 \
                        sha1    e4826c8bd85325067818f19b2b2ad2b625da66fc \
                        rmd160  0d1fa0992280ed71c0d72487a5a4c246d1c1b18a

depends_lib             path:bin/perl:perl5 \
                        port:m4 \
                        port:gawk

configure.args          --program-suffix=213 \
                        --datadir=\\\${prefix}/share/${name} \
                        --infodir=\\\${prefix}/share/info 

destroot.destdir        prefix=${destroot}${prefix}

post-destroot {
    file delete -force ${destroot}${prefix}/share/info
}

livecheck.type  none
