freebsd-ports/net/rinetd/Makefile
Jimmy Olgeni 7dc406a7a1 Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category N.

CR:		D307
Approved by:	portmgr (bapt)
2014-07-10 12:13:11 +00:00

47 lines
928 B
Makefile

# Created by: alexp
# $FreeBSD$
PORTNAME= rinetd
PORTVERSION= 0.62
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://www.boutell.com/rinetd/http/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
DISTNAME= rinetd
MAINTAINER= garga@FreeBSD.org
COMMENT= Simple TCP port redirector
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/rinetd-${PORTVERSION}
USES= dos2unix
PORTDOCS= index.html
PLIST_FILES= sbin/rinetd \
man/man8/rinetd.8.gz
USE_RC_SUBR= rinetd
post-extract:
@${MV} ${WRKDIR}/rinetd ${WRKSRC}
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
@${REINPLACE_CMD} -e "s/cc /${CC} /g" ${WRKSRC}/Makefile
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>