Ticket #37352: torsocks.Portfile.diff

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

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    2 # $Id: Portfile 96472 2012-08-10 23:29:49Z jmr@macports.org $
     2# $Id$
    33
    44PortSystem        1.0
    55
    66name              torsocks
    77version           1.2
     8revision          2
    89categories        net security
    9 license           GPL-2+
    1010platforms         darwin
     11license           GPL-2+
    1112maintainers       yopmail.com:sami.laine
    1213description       A transparent socks proxy for use with tor
    1314long_description  Torsocks is an application for Linux, BSD and \
    14                   OS X that allows you to use network applications \
     15                  Mac OSX that allows you to use network applications \
    1516                  such as ssh and irssi with Tor. Torsocks allows you \
    1617                  to use most socks-friendly applications in a safe \
    1718                  way with Tor. It ensures that DNS requests are \
     
    1920                  from the application you're using.
    2021homepage          http://torsocks.googlecode.com/
    2122master_sites      googlecode
    22 checksums         rmd160 eb4b16833c5f7a09424d7acb9993c6dd04f8a8d0 \
    23                   sha256 bea57d3624d723724fd1e260f0e6b2a354c0da742c023aa994c7692270d111d4
     23checksums         sha256 bea57d3624d723724fd1e260f0e6b2a354c0da742c023aa994c7692270d111d4
     24
     25configure.args   --datarootdir=${prefix}/share/doc/torsocks
     26post-destroot {
     27  move ${destroot}${prefix}/etc/torsocks.conf \
     28       ${destroot}${prefix}/etc/torsocks.conf.default
     29}
     30
     31post-activate {
     32  if {![file exists ${prefix}/etc/torsocks.conf]} {
     33    file copy ${prefix}/etc/torsocks.conf.default \
     34              ${prefix}/etc/torsocks.conf
     35  }
     36}
     37
     38# end of file (I'm pretty sure this might be left here).