1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net/pbnc/Makefile
Hiroki Sato 781c125261 - Fix perl dependency.
- Clean up complicated target definitions.
2007-09-30 05:59:59 +00:00

36 lines
812 B
Makefile

# Ports collection makefile for: pbnc
# Date created: 03 Apr 2004
# Whom: hrs
#
# $FreeBSD$
PORTNAME= pbnc
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://duncanthrax.net/pbnc/
DISTNAME= pbnc
MAINTAINER= hrs@FreeBSD.org
COMMENT= Simple userspace TCP port bouncer
RUN_DEPENDS= ${SITE_PERL}/Net/Netmask.pm:${PORTSDIR}/net-mgmt/p5-Net-Netmask
NO_BUILD= yes
USE_PERL5_RUN= yes
PLIST_FILES= etc/pbnc.cfg bin/pbnc.pl
PORTDOCS= pbnc.readme
pre-install:
${REINPLACE_CMD} 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/pbnc.pl
do-install:
${INSTALL_DATA} ${WRKSRC}/pbnc.cfg ${PREFIX}/etc/pbnc.cfg
${INSTALL_SCRIPT} ${WRKSRC}/pbnc.pl ${PREFIX}/bin/pbnc.pl
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>