Ticket #18661: Portfile

File Portfile, 1.0 KB (added by krunk7@…, 16 years ago)

Portfile

Line 
1# $Id: Portfile 44419 2008-12-28 09:31:44Z akitada@macports.org $
2
3PortSystem 1.0
4PortGroup python25 1.0
5
6name      py25-twisted
7version     8.2.0
8categories    python devel net
9maintainers   stechert akitada openmaintainer
10description   An event-based Python framework for internet applications
11long_description  Twisted is an event-driven networking framework \
12        written in Python. Twisted supports TCP, UDP, SSL/TLS, \
13        multicast, Unix sockets, a large number of protocols \
14        (including HTTP, NNTP, SSH, IRC, FTP, and others), and \
15        much more.
16
17homepage    http://www.twistedmatrix.com/
18master_sites  http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/
19distname    Twisted-${version}
20use_bzip2   yes
21checksums   md5 c85f151999df3ecf04c49a781b4438d2
22depends_lib-append  port:py25-zopeinterface
23
24build   {}
25
26post-destroot {
27  foreach f [glob -directory ${destroot}/${prefix}/bin *] {
28    move $f ${destroot}${prefix}/bin/[file tail $f]2.5
29  }
30}
31
32destroot.env  "PYTHONPATH=\$PYTHONPATH:${destroot}${python.pkgd}"
33