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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-socksipy-branch |
---|
8 | version 1.02 |
---|
9 | |
---|
10 | categories python devel net |
---|
11 | maintainers vmunix.org:torstenb \ |
---|
12 | openmaintainer |
---|
13 | description python SOCKS client module |
---|
14 | long_description SocksiPy is a SOCKS client module, branched off the abandoned \ |
---|
15 | original socksipy |
---|
16 | |
---|
17 | platforms darwin |
---|
18 | license BSD |
---|
19 | |
---|
20 | homepage http://socksipy-branch.googlecode.com/ |
---|
21 | master_sites googlecode:socksipy-branch |
---|
22 | |
---|
23 | distname SocksiPy-branch-${version} |
---|
24 | |
---|
25 | python.versions 26 27 |
---|
26 | python.default_version 27 |
---|
27 | |
---|
28 | checksums md5 83bf21bb48a880599ef0b88d47824fda \ |
---|
29 | sha1 d046bb54fd977059c2266b18c4608f88019b6347 \ |
---|
30 | rmd160 7b4db2d555db971855c2161fbf7ed0a7ad18f52a |
---|
31 | |
---|
32 | post-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 | } |
---|