You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
34b3070336
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
42 lines
1.3 KiB
Tcl
42 lines
1.3 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name tcpproxy
|
|
version 2.0.0-beta15
|
|
categories net
|
|
license GPL-2+
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
|
|
description proxy (tunnel, redirector) for TCP/IP protocols
|
|
|
|
long_description ${name} is a ${description}.
|
|
|
|
homepage http://www.quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/TcpProxy
|
|
master_sites http://www.quietsche-entchen.de/download/
|
|
|
|
checksums sha1 81039e5eb1e6a9dfac267c77840a9e2c9a9a98f9 \
|
|
rmd160 f4a622a6e94de7cbc08828a8fc7ef5f73ca58ebd
|
|
|
|
patchfiles patch-tcpproxy.diff
|
|
|
|
post-patch {
|
|
reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/tcpproxy.h
|
|
}
|
|
|
|
use_configure no
|
|
|
|
variant universal {}
|
|
|
|
build.args CC="${configure.cc} [get_canonical_archflags cc]"
|
|
|
|
destroot {
|
|
xinstall -s -m 755 ${worksrcpath}/tcpproxy ${destroot}${prefix}/sbin
|
|
xinstall -m 644 ${worksrcpath}/tcpproxy.1 \
|
|
${destroot}${prefix}/share/man/man1
|
|
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
|
|
xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
}
|