Ticket #37363: tsocks.Portfile.2.diff

File tsocks.Portfile.2.diff, 2.3 KB (added by sami.laine@…, 12 years ago)
  • net/tsocks/Portfile

    old new  
    44
    55name                    tsocks
    66version                 1.8.4
    7 revision                2
     7revision                3
    88categories              net
    99platforms               darwin
    1010maintainers             nomaintainer
     
    1919                        a SOCKS server as necessary.
    2020
    2121homepage                http://ima.udg.edu/~rgarcia/tsocks/
    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
     22distfiles
     23livecheck.type          none
     24conflicts               torsocks
     25replaced_by             torsocks
     26
     27pre-configure {
     28    ui_error "Please do not install this port since it has been replaced by 'torsocks'."
     29    return -code error
    5730}
    5831
    59 notes "
    60 The tsocks.conf.sample file is in ${prefix}/etc.\
    61 Copy it to tsocks.conf to use it.\
    62 You should set tordns_enable to false if you're not using Tor.
    63 "
     32# end of file.