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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

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