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

PortSystem      1.0

name            autoconf263
version         2.63
categories      devel
maintainers     nomaintainer
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.
platforms       darwin
homepage        http://www.gnu.org/software/autoconf/
master_sites    gnu:autoconf
use_bzip2       yes
distname        autoconf-${version}
universal_variant       no

checksums       rmd160 273448a60bc4dfcfcb3ee455ef012333eeca3256

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

# If libtool is eventually installed, it will provide glibtoolize (not libtoolize)
post-patch {
    reinplace "s|'libtoolize'|'glibtoolize'|" ${worksrcpath}/bin/autoreconf.in
}

configure.perl  ${prefix}/bin/perl
configure.args  --program-suffix=263 \
                --datadir=${prefix}/share/${name}

post-destroot {
    delete ${destroot}${prefix}/share/emacs
    delete ${destroot}${prefix}/share/info
}

livecheck.type  none
