# $Id: Portfile 55917 2009-08-21 13:11:00Z snc@macports.org $

PortSystem 1.0

#PortGroup python26 1.0

name			py26-wbxml
version			0.1
categories		python net
maintainers		nomaintainer
platforms		darwin freebsd
description		Python bindings for the WBXML library
long_description	\
 pywbxml provides Python bindings to manipulate WBXML, a binary \
 representation of WBXML used in mobile communications.

homepage		http://www.synce.org/
master_sites	sourceforge:synce
checksums		md5     6a1181b7be09ba69fe6768a0f6156416 \
				sha1    db6fabcec33ebede343534f11536c7563c068664 \
				rmd160  7cfa5bf6162b53b6f6e9708f1da41aa0244e6b6f
distname		pywbxml-${version}
distfiles		pywbxml-${version}.tar.gz

depends_lib     port:wbxml2
depends_build   port:py26-pyrex

set python.prefix "${frameworks_dir}/Python.framework/Versions/2.6"
configure.env   PATH="${python.prefix}/bin:$env(PATH)"
build.env       PATH="${python.prefix}/bin:$env(PATH)"

destroot.args-append   wbxmlbindingsdir=${python.prefix}/lib/python2.6
