1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/net/rinetd/Makefile
Renato Botelho 07bcc40910 - Fix manpage pointing to correct PREFIX for binary and conf
- Bump PORTREVISION

PR:		ports/118537 (Based on)
Submitted by:	Dan Mahoney <danm@prime.gushi.org>
Approved by:	portmgr (erwin)
2007-12-11 12:12:52 +00:00

40 lines
776 B
Makefile

# New ports collection makefile for: rinetd
# Date created: 23 Dec 1997
# Whom: alexp
#
# $FreeBSD$
#
PORTNAME= rinetd
PORTVERSION= 0.62
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.boutell.com/rinetd/http/
DISTNAME= rinetd
MAINTAINER= garga@FreeBSD.org
COMMENT= A simple TCP port redirector
WRKSRC= ${WRKDIR}/rinetd/
MAN8= rinetd.8
PORTDOCS= index.html
PLIST_FILES= sbin/rinetd
USE_RC_SUBR= rinetd.sh
post-patch:
@${REINPLACE_CMD} -E "s,(/etc/rinetd.conf),${PREFIX}\1," \
${WRKSRC}/rinetd.[8c]
@${REINPLACE_CMD} -E "s,/usr(/sbin/rinetd),${PREFIX}\1," \
${WRKSRC}/rinetd.8
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>