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

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

version++, file copy->xinstall

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1# $Id: Portfile,v 1.10 2004/02/03 23:45:43 mww Exp $
2
3PortSystem 1.0
4
5name            py-jabber
6version         0.5-0
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 cbb9a1126bdc39ff49af605fb55c282e
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        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
41        xinstall -m 644 -W ${worksrcpath} README CREDITS \
42                ${destroot}${prefix}/share/doc/${name}
43        xinstall -m 644 -W ${worksrcpath}/examples README jrpc.py pending.xpm \
44                mailchecker.py offline.xpm online.xpm pygtkjab.py pyqtjab.py \
45                pypguijab.py test_client.py \
46                ${destroot}${prefix}/share/doc/${name}/examples
47}
Note: See TracBrowser for help on using the repository browser.