# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 85286 2011-10-12 09:33:00Z jmr@macports.org $

PortSystem 1.0

name		libxmlxx2
set gname       libxml++
version		2.30.1
set branch      [join [lrange [split ${version} .] 0 1] .]
categories	textproc
license		LGPL
maintainers	nomaintainer
description	libxml++ is a C++ interface for working with XML files
long_description	libxml++ is a C++ interface for working with XML files, using \
			libxml (gnome-xml) to parse and write the actual XML files. It \
			has a simple but complete API.
homepage	http://libxmlplusplus.sourceforge.net
platforms	darwin
distname	${gname}-${version}
master_sites    gnome:sources/${gname}/${branch}/

use_bzip2	yes

checksums       md5     0de2bd8c38cf308983df7d531681da56 \
                sha1    9d69aa168b8dab3f1c3ce355660adf57b194b803 \
                rmd160  58c84b82a31dcf6b8510c85b829034a7123eb239

depends_build   port:pkgconfig \
                path:bin/perl:perl5

depends_lib     port:libxml2 \
                port:glibmm

configure.args  --infodir=${prefix}/share/info \
                --mandir=${prefix}/share/man

livecheck.type  regex
livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${gname}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
