# $Id: Portfile,v 1.1 2003/04/15 13:47:29 jpm Exp $ PortSystem 1.0 name pyxml version 0.8.2 categories devel textproc maintainers ryanwilcox@mac.com description XML Tools for Python long_description A package of all the tools required for writing basic XML applications in Python platforms darwin homepage http://pyxml.sourceforge.net/ master_sites \ http://unc.dl.sourceforge.net/sourceforge/${name}/ \ http://telia.dl.sourceforge.net/sourceforge/${name}/ \ http://easynews.dl.sourceforge.net/sourceforge/${name}/ \ http://umn.dl.sourceforge.net/sourceforge/${name}/ \ http://twtelecom.dl.sourceforge.net/sourceforge/${name}/ \ http://belnet.dl.sourceforge.net/sourceforge/${name}/ \ http://switch.dl.sourceforge.net/sourceforge/${name}/ \ http://cesnet.dl.sourceforge.net/sourceforge/${name}/ distname PyXML-0.8.2 checksums md5 089949423213bfee633e016da54cb90c depends_build bin:python:python depends_lib lib:libexpat.0:expat configure {} variant darwin { #patch files are darwin specific patchfiles patch-setup.py.diff } build {} build.args --prefix=${destroot}${prefix} build.cmd python setup.py build --with-libexpat=${prefix} install.args --prefix=${destroot}${prefix} install.destroot {} install.cmd python setup.py post-install { # remind user to define/add installed path to python path # copied from the twisted port file ui_msg "\nBe sure the install path is included in your python path:" ui_msg "setenv PYTHONPATH \$PYTHONPATH:${prefix}/lib/python2.2/site-packages\n" }