22 | | master_sites ${homepage} |
23 | | use_bzip2 yes |
24 | | |
25 | | checksums md5 dccf57d632136b62dbe7ec7970b6c3e3 |
26 | | |
27 | | patchfiles 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 | | |
34 | | post-extract { |
35 | | reinplace "s|/etc/tsocks.conf|${prefix}/etc/tsocks.conf|g" \ |
36 | | ${worksrcpath}/tsocks.8 |
37 | | } |
38 | | |
39 | | use_autoconf yes |
40 | | |
41 | | configure.args --with-conf=${prefix}/etc/tsocks.conf \ |
42 | | --libdir=${prefix}/lib \ |
43 | | --mandir=${prefix}/share/man |
44 | | |
45 | | configure.universal_args-delete --disable-dependency-tracking |
46 | | |
47 | | post-destroot { |
48 | | xinstall -m 755 -W ${worksrcpath} inspectsocks validateconf \ |
49 | | ${destroot}${prefix}/bin |
50 | | xinstall -m 644 ${worksrcpath}/tsocks.conf.simple.example ${destroot}${prefix}/etc/tsocks.conf.sample |
51 | | |
52 | | xinstall -m 755 -d ${destroot}${prefix}/share/examples/tsocks |
53 | | eval xinstall -m 644 [glob ${worksrcpath}/*.example] ${destroot}${prefix}/share/examples/tsocks |
54 | | |
55 | | xinstall -m 755 -d ${destroot}${prefix}/share/doc/tsocks |
56 | | xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog FAQ INSTALL TODO ${destroot}${prefix}/share/doc/tsocks |
| 22 | distfiles |
| 23 | livecheck.type none |
| 24 | conflicts torsocks |
| 25 | replaced_by torsocks |
| 26 | |
| 27 | pre-configure { |
| 28 | ui_error "Please do not install this port since it has been replaced by 'torsocks'." |
| 29 | return -code error |