# $Id: Portfile,v 1.4 2003/10/08 12:51:37 fkr Exp $ PortSystem 1.0 name pyxml version 0.8.2 categories python 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 sourceforge 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} destroot.args --prefix=${destroot}${prefix} destroot.destdir {} destroot.cmd python setup.py post-destroot { # 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" }