# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*-

PortSystem	    1.0

name		    gnat-xmlada
version		    3.1
epoch		    20090126
revision	    1
platforms	    darwin
categories	    devel
maintainers	    nomaintainer
description	    XML/Ada: a full XML suite
long_description    XML/Ada is a set of modules that provide a simple	\
		    manipulation of XML streams. It supports the whole	\
		    XML 1.1 specifications, and can parse any file that \
		    follows this standard (including the contents of	\
		    the DTD, although no validation of the document is	\
		    done based on those).

homepage	    https://libre.adacore.com/xmlada
master_sites	    sourceforge:gnuada

distfiles	    xmlada-${version}-${epoch}.tar.bz2 
worksrcdir	    xmlada-${version}-${epoch}

checksums	    md5     0cbed553776ae67e75a7b89324813aa7 \
		    sha1    360fbc84dcf406c8edc0cfc8824bfa8080f1e9e4 \
		    rmd160  0b2f44314ad2ef53f6fac094c3b20cbc32a12449

use_bzip2	    yes
use_parallel_build  yes
use_configure	    yes

depends_lib	    port:gnat-gcc

pre-destroot {
    reinplace "s|^prefix=|prefix=\${DESTDIR}|g" ${worksrcpath}/Makefile
}

# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
# vim: set textwidth=0 filetype=tcl foldmethod=marker nospell :