Ticket #31104: Portfile

File Portfile, 1.2 KB (added by 3add3287 (3add3287), 13 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem                      1.0
5PortGroup           python 1.0
6
7name                py-socksipy-branch
8version             1.02
9
10categories          python devel net
11maintainers         vmunix.org:torstenb \
12                                        openmaintainer
13description         python SOCKS client module
14long_description    SocksiPy is a SOCKS client module, branched off the abandoned \
15                                        original socksipy
16
17platforms           darwin
18license             BSD
19
20homepage            http://socksipy-branch.googlecode.com/
21master_sites        googlecode:socksipy-branch
22
23distname            SocksiPy-branch-${version}
24
25python.versions         26 27
26python.default_version 27
27
28checksums           md5     83bf21bb48a880599ef0b88d47824fda \
29                    sha1    d046bb54fd977059c2266b18c4608f88019b6347 \
30                    rmd160  7b4db2d555db971855c2161fbf7ed0a7ad18f52a
31
32post-patch {
33        # Set directories to 755, *.py to 755, other files to 644
34        system "find ${workpath} -type d -exec chmod 755 {} \\;"
35        system "find ${workpath} -type f -name '*.py' -exec chmod 775 {} \\;"
36        system "find ${workpath} -type f -not -name '*.py' -exec chmod 644 {} \\;"
37}