freebsd-ports/net/portfwd/Makefile
2003-02-21 13:28:59 +00:00

39 lines
868 B
Makefile

# New ports collection makefile for: portfwd
# Date created: Sun May 5 16:12:30 CET 2002
# Whom: Alex Dupre <sysadmin@alexdupre.com>
#
# $FreeBSD$
#
PORTNAME= portfwd
PORTVERSION= 0.26.r6
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
MAINTAINER= sysadmin@alexdupre.com
COMMENT= A Port Forwarding Daemon
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
MAN5= portfwd.cfg.5
MAN8= portfwd.8
.if defined(NOPORTDOCS)
pre-install:
@${REINPLACE_CMD} -e "s|(^install-data-am:) install-docDATA|\1|g" \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
"s|(^install-data-am: install-man) install-docDATA|\1|g" \
${WRKSRC}/doc/Makefile
.endif
post-install:
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/cfg/* ${EXAMPLESDIR}
.include <bsd.port.mk>