freebsd-ports/net/tcpproxy/Makefile
Muhammad Moinur Rahman a85f11a927
net/tcpproxy: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-25 11:31:46 +01:00

36 lines
935 B
Makefile

PORTNAME= tcpproxy
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.spreadspace.org/tcpproxy/releases/ \
http://alex.bmg.gv.at/programs/
MAINTAINER= alex@hugo.bmg.gv.at
COMMENT= Simple TCP connection proxy for IPv4 and IPv6
WWW= https://www.spreadspace.org/tcpproxy/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/../LICENSE
BUILD_DEPENDS= ragel:devel/ragel
USES= gmake
HAS_CONFIGURE= yes
USERS= _tcpproxy
GROUPS= _tcpproxy
USE_RC_SUBR= tcpproxy
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
PLIST_FILES= bin/tcpproxy etc/tcpproxy_sample.conf \
share/man/man8/tcpproxy.8.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpproxy ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/contrib/example.conf ${STAGEDIR}${PREFIX}/etc/tcpproxy_sample.conf
${INSTALL_MAN} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/tcpproxy.8 ${STAGEDIR}${PREFIX}/share/man/man8
.include <bsd.port.mk>