# $Id: Portfile,v 1.9 2004/01/18 13:26:08 mww Exp $ PortSystem 1.0 name py-jabber version 0.5-rc6 categories python net maintainers mww@opendarwin.org platforms darwin freebsd description python module for the jabber instant messaging protocol long_description jabber.py is a python module for the jabber instant \ messaging protocol. jabber.py deals with the xml parsing and \ socket code, leaving the programmer to concentrate on \ developing quality jabber based applications with python. homepage http://jabberpy.sourceforge.net/ master_sites sourceforge:jabberpy distname jabberpy-${version} checksums md5 4254353b683f4a0af35eedac2d8d6d8f patchfiles patch-setup.py.diff depends_lib bin:python:python post-patch { reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py file copy ${worksrcpath}/jabber/debug.py \ ${worksrcpath}/jabber/jabber.py \ ${worksrcpath}/jabber/xmlstream.py ${worksrcpath} } use_configure no build.cmd python setup.py build.target build destroot.cmd python setup.py destroot.destdir --prefix=${destroot}${prefix} post-destroot { file mkdir ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/README ${worksrcpath}/examples \ ${worksrcpath}/CREDITS ${destroot}${prefix}/share/doc/${name} }