source: trunk/dports/net/tsocks/Portfile @ 70703

Last change on this file since 70703 was 70703, checked in by ryandesign@…, 7 years ago

tsocks: avoid "WARNING: unrecognized options: --disable-dependency-tracking"

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 70703 2010-08-17 22:20:31Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    tsocks
6version                 1.8.4
7revision                1
8categories              net
9platforms               darwin
10maintainers             nomaintainer
11
12description             Transparent SOCKS proxying library
13
14long_description        tsocks allows non SOCKS aware applications (e.g \
15                        telnet, ssh, ftp etc) to use SOCKS without any \
16                        modification. It does this by intercepting the \
17                        calls that applications make to establish \
18                        network connections and negotating them through \
19                        a SOCKS server as necessary.
20
21homepage                http://giig.ugr.es/~rgarcia/tsocks/
22master_sites            ${homepage}
23use_bzip2               yes
24
25checksums               md5     dccf57d632136b62dbe7ec7970b6c3e3
26
27patchfiles              patch-Makefile.in \
28                        patch-configure.in \
29                        patch-dead_pool.c \
30                        patch-tsocks.c \
31                        patch-tsocks.h \
32                        patch-tsocks.in
33
34post-extract {
35    reinplace "s|/etc/tsocks.conf|${prefix}/etc/tsocks.conf|g" \
36        ${worksrcpath}/tsocks.8
37}
38
39use_autoconf            yes
40
41configure.args          --with-conf=${prefix}/etc/tsocks.conf \
42                        --libdir=${prefix}/lib \
43                        --mandir=${prefix}/share/man
44
45configure.universal_args-delete --disable-dependency-tracking
46
47post-destroot {
48    xinstall -m 755 -d ${destroot}${prefix}/etc
49    xinstall -m 644 ${worksrcpath}/tsocks.conf.simple.example ${destroot}${prefix}/etc/tsocks.conf.sample
50   
51    xinstall -m 755 -d ${destroot}${prefix}/share/examples/tsocks
52    eval xinstall -m 644 [glob ${worksrcpath}/*.example] ${destroot}${prefix}/share/examples/tsocks
53   
54    xinstall -m 755 -d ${destroot}${prefix}/share/doc/tsocks
55    foreach doc { COPYING ChangeLog FAQ INSTALL TODO } {
56        xinstall -m 644 ${worksrcpath}/${doc} ${destroot}${prefix}/share/doc/tsocks/${doc}
57    }
58}
59
60notes "
61The tsocks.conf.sample file is in ${prefix}/etc.\
62Rename it to tsocks.conf to use it.\
63You should set tordns_enable to false if you're not using Tor.
64"
Note: See TracBrowser for help on using the repository browser.