mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
1fe8493549
Approved by: roberto(mentor)
35 lines
828 B
Makefile
35 lines
828 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: tcpsg
|
|
# Date created: Tue Oct 30, 2002
|
|
# Whom: Michael L. Hostbaek (mich@freebsdcluster.org)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tcpsg
|
|
PORTVERSION= 0.0.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= mich@FreeBSD.org
|
|
COMMENT= A simple TCP port forwarder
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/tcpsg.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/tcpsg.conf ${PREFIX}/etc/
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
|
|
${INSTALL_DATA} ${WRKSRC}/tcpsg.ctl ${DOCSDIR}/tcpsg.ctl
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|