Ticket #22545: Portfile

File Portfile, 1.2 KB (added by aeppert@…, 14 years ago)

Portfile for python-twitter

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5PortGroup           python26 1.0
6
7name                py26-python-twitter
8version             0.6
9categories-append   python
10maintainers         aeppertATgmailDOTcom
11description         A python wrapper around the Twitter API
12long_description    ${description}
13
14platforms           darwin
15
16homepage            http://code.google.com/p/python-twitter
17master_sites        http://python-twitter.googlecode.com/files/
18distname            python-twitter-${version}
19
20depends_lib         port:py26-setuptools \
21                    port:py26-simplejson
22
23checksums           md5     e1f5c50c60c74944d29ce28178972b95 \
24                    sha1    44e226ba59e32a15ce2f2ae6d38bc62a85d19e05 \
25                    rmd160  1d813877cac653be4463f82b25eb7d95b8877e80
26
27post-destroot {
28    xinstall -m 644 -W ${worksrcpath} \
29        LICENSE \
30          ${destroot}${prefix}/share/doc/${name}
31    foreach f [glob -directory ${worksrcpath}/doc *] {
32        copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
33    }
34}
35
36livecheck.type      regex
37livecheck.url       ${master_sites}
38livecheck.regex     {python-twitter-([0-9.]+)\.tar\.gz}
39