# -*- 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                autoconf-archive
version             2016.03.20
categories          devel
platforms           darwin
license             Permissive
maintainers         nomaintainer

supported_archs     noarch
installs_libs       no

description         A collection of more than 450 macros for GNU Autoconf
long_description    The GNU Autoconf Archive is a collection of more \
                    than 450 macros for GNU Autoconf that have been \
                    contributed as free software by friendly supporters \
                    of the cause from all over the Internet. Every \
                    single one of those macros can be re-used without \
                    imposing any restrictions whatsoever on the \
                    licensing of the generated configure script.

homepage            http://www.gnu.org/software/autoconf-archive/
master_sites        gnu
use_xz              yes

checksums           rmd160  7390f3799e3e2efd575e8b26528c7ccb2e6f3ec0 \
                    sha256  88fb2efff640eddd28a52ae550ff5561bca3bd2bba09e1d7b0580e719875e437

# deactivate versions of gnome-common < 3.18.0 when updating
# to avoid collisions on activation

pre-activate {
    if {![catch {set installed [lindex [registry_active gnome-common] 0]}]} {
        set _version [lindex $installed 1]
        if {[vercmp $_version 3.18.0] < 0} {
            registry_deactivate_composite gnome-common "" [list ports_nodepcheck 1]
        }
    }
}