1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/net/rinetd/Makefile

45 lines
911 B
Makefile
Raw Normal View History

# New ports collection makefile for: rinetd
# Date created: 23 Dec 1997
# Whom: alexp
#
1999-08-30 14:24:37 +00:00
# $FreeBSD$
#
PORTNAME= rinetd
PORTVERSION= 0.62
PORTREVISION= 4
CATEGORIES= net
2008-07-25 18:13:13 +00:00
MASTER_SITES= http://www.boutell.com/rinetd/http/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
DISTNAME= rinetd
MAINTAINER= garga@FreeBSD.org
2003-02-20 19:00:52 +00:00
COMMENT= A simple TCP port redirector
WRKSRC= ${WRKDIR}/rinetd/
MAKE_JOBS_SAFE= yes
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
2011-07-26 22:12:14 +00:00
@${REINPLACE_CMD} -e "s/cc /${CC} /g" ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>