# -*- 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 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name		libxmlxx2
set gname       libxml++
version		2.26.1
set branch      [join [lrange [split ${version} .] 0 1] .]
categories	textproc
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     4eb94f16e10e22f8b2b1e7608d56dcf9 \
                sha1    6b61a90cfcf019463c3f5aa10cdc5d0b5566fc7b \
                rmd160  d2f4d6cef2b42ec1add7a6acfd015775e1bdf295

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+)*)}
