1999-06-12 04:45:53 +00:00
|
|
|
# New ports collection makefile for: rinetd
|
|
|
|
# Date created: 23 Dec 1997
|
|
|
|
# Whom: alexp
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1999-06-12 04:45:53 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= rinetd
|
2003-04-17 16:25:41 +00:00
|
|
|
PORTVERSION= 0.62
|
2001-01-16 17:33:20 +00:00
|
|
|
CATEGORIES= net
|
2002-01-15 03:04:08 +00:00
|
|
|
MASTER_SITES= http://www.boutell.com/rinetd/http/
|
2000-04-09 18:14:07 +00:00
|
|
|
DISTNAME= rinetd
|
1999-06-12 04:45:53 +00:00
|
|
|
|
2001-07-19 12:54:20 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= A simple TCP port redirector
|
1999-06-12 04:45:53 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/rinetd/
|
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
MAN8= rinetd.8
|
2004-06-08 12:41:07 +00:00
|
|
|
PORTDOCS= index.html
|
|
|
|
PLIST_FILES= etc/rc.d/rinetd.sh sbin/rinetd
|
|
|
|
|
|
|
|
|
|
|
|
USE_RC_SUBR= yes
|
|
|
|
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
|
|
|
${FILESDIR}/rinetd.sh > ${WRKDIR}/rinetd.sh
|
1999-06-12 04:45:53 +00:00
|
|
|
|
|
|
|
post-install:
|
2004-06-08 12:41:07 +00:00
|
|
|
${INSTALL_SCRIPT} -m 751 ${WRKDIR}/rinetd.sh ${PREFIX}/etc/rc.d/rinetd.sh
|
2004-02-27 02:11:06 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
|
|
.endif
|
2004-06-08 12:41:07 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-06-12 04:45:53 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|