# -*- 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 82547 2011-08-15 16:46:16Z jmr@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         Data-Stag 0.11 Data/CMUNGALL/
revision            3
maintainers         tonym.us:tonym openmaintainer
platforms           darwin
supported_archs     noarch

description         Perl module for manipulating data as hierarchical tag/value pairs

long_description    This module is for manipulating data as hierarchical \
                    tag/value pairs (Structured TAGs or Simple Tree AGgreggates). \
                    These datastructures can be represented as nested arrays, \
                    which have the advantage of being native to perl.

checksums           md5     6bfa3cf196b69180d04602e956f8b626 \
                    sha1    c18c48ba794f47537d98dcc32e33d0d21a09ee44 \
                    rmd160  45c92b1b299b836786f6d0da26cb7a1040317cbf

if {${perl5.major} != ""} {
depends_lib-append  port:p${perl5.major}-io-string \
                    port:p${perl5.major}-xml-libxslt \
                    port:p${perl5.major}-libxml-perl \
                    port:p${perl5.major}-mldbm \
                    port:p${perl5.major}-gd \
                    port:p${perl5.major}-graph

test.run            yes
test.cmd            make
test.target         test
}
