# $Id: Portfile,v 1.10 2004/02/03 23:45:43 mww Exp $ PortSystem 1.0 name py-jabber version 0.5-0 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 cbb9a1126bdc39ff49af605fb55c282e 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 { xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples xinstall -m 644 -W ${worksrcpath} README CREDITS \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath}/examples README jrpc.py pending.xpm \ mailchecker.py offline.xpm online.xpm pygtkjab.py pyqtjab.py \ pypguijab.py test_client.py \ ${destroot}${prefix}/share/doc/${name}/examples }