# -*- 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: Portfile 92833 2012-05-08 23:46:29Z ryandesign@macports.org $
PortSystem              1.0

name                    xgawk
version                 3.1.6a-20090408
categories              lang textproc
license                 GPL-3+
installs_libs           no
maintainers             free.fr:fclaire openmaintainer
platforms               darwin
homepage                http://home.vr-web.de/Juergen.Kahrs/gawk/XML/
master_sites            ${homepage}
distname                ${name}-${version}
description             The XMLgawk utility.
use_parallel_build      yes

long_description        XMLgawk is an experimental extension of the GNU Awk interpreter. \
                        It includes a small XML parsing library which is built upon the \
                        Expat XML parser. The parsing library is a very thin layer on top \
                        of Expat (implementing a pull-interface) and can also be used \
                        without GNU Awk to read XML data files.

checksums               sha1    8e382b7a2c34dc9daf5ec2b12e850352a7944cfa \
                        rmd160  219b72259402397f7d245cbbe1475a683f800084

depends_lib             port:readline \
                        port:gettext

configure.args          --with-libiconv-prefix=${prefix} \
                        ac_cv_libsigsegv=no \
                        --enable-static-extensions=yes

test.run                yes
test.target             check

livecheck.type          regex
livecheck.url           ${homepage}
livecheck.regex         ${name}-(\[0-9.a-\]+)\\.tar.gz

