source: trunk/dports/python/py-jabber/Portfile @ 4842

Last change on this file since 4842 was 4842, checked in by mww, 16 years ago

update version;

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.9 2004/01/18 13:26:08 mww Exp $
2
3PortSystem 1.0
4
5name            py-jabber
6version         0.5-rc6
7categories      python net
8maintainers     mww@opendarwin.org
9platforms       darwin freebsd
10description     python module for the jabber instant messaging protocol
11long_description        jabber.py is a python module for the jabber instant \
12                messaging protocol. jabber.py deals with the xml parsing and \
13                socket code, leaving the programmer to concentrate on \
14                developing quality jabber based applications with python.
15
16homepage        http://jabberpy.sourceforge.net/
17master_sites    sourceforge:jabberpy
18distname        jabberpy-${version}
19checksums       md5 4254353b683f4a0af35eedac2d8d6d8f
20patchfiles      patch-setup.py.diff
21
22depends_lib     bin:python:python
23
24post-patch      {
25        reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
26        file copy ${worksrcpath}/jabber/debug.py \
27                ${worksrcpath}/jabber/jabber.py \
28                ${worksrcpath}/jabber/xmlstream.py ${worksrcpath}
29}
30
31use_configure   no
32
33build.cmd       python setup.py
34build.target    build
35
36destroot.cmd    python setup.py
37destroot.destdir        --prefix=${destroot}${prefix}
38
39post-destroot   {
40        file mkdir ${destroot}${prefix}/share/doc/${name}
41        file copy ${worksrcpath}/README ${worksrcpath}/examples \
42                ${worksrcpath}/CREDITS ${destroot}${prefix}/share/doc/${name}
43}
Note: See TracBrowser for help on using the repository browser.