source: trunk/dports/net/tcpproxy/Portfile

Last change on this file was 104013, checked in by jmr@…, 4 years ago

tcpproxy: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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 104013 2013-03-12 23:37:56Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                tcpproxy
7version             2.0.0-beta15
8categories          net
9license             GPL-2+
10platforms           darwin
11maintainers         nomaintainer
12
13description         proxy (tunnel, redirector) for TCP/IP protocols
14
15long_description    ${name} is a ${description}.
16
17homepage            http://www.quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/TcpProxy
18master_sites        http://www.quietsche-entchen.de/download/
19
20checksums           sha1    81039e5eb1e6a9dfac267c77840a9e2c9a9a98f9 \
21                    rmd160  f4a622a6e94de7cbc08828a8fc7ef5f73ca58ebd
22
23patchfiles          patch-tcpproxy.diff
24
25post-patch {
26    reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/tcpproxy.h
27}
28
29use_configure       no
30
31variant universal {}
32
33build.args          CC="${configure.cc} [get_canonical_archflags cc]"
34
35destroot {
36    xinstall -s -m 755 ${worksrcpath}/tcpproxy ${destroot}${prefix}/sbin
37    xinstall -m 644 ${worksrcpath}/tcpproxy.1 \
38        ${destroot}${prefix}/share/man/man1
39    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
40    xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README \
41        ${destroot}${prefix}/share/doc/${name}
42}
Note: See TracBrowser for help on using the repository browser.