# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem      1.0

name            autoconf263
version         2.63
categories      devel
maintainers     nomaintainer
# there is an exception that basically means dependents don't have to be GPL
license         {Autoconf GPL-2+}
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
supported_archs noarch
homepage        http://www.gnu.org/software/autoconf/
master_sites    gnu:autoconf
use_bzip2       yes
distname        autoconf-${version}
dist_subdir     autoconf

checksums       rmd160 273448a60bc4dfcfcb3ee455ef012333eeca3256

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

# 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