2004-04-03 21:12:03 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pbnc
|
|
|
|
PORTVERSION= 1.0
|
2007-09-30 05:59:59 +00:00
|
|
|
PORTREVISION= 1
|
2004-04-03 21:12:03 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://duncanthrax.net/pbnc/
|
|
|
|
DISTNAME= pbnc
|
|
|
|
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
|
|
COMMENT= Simple userspace TCP port bouncer
|
|
|
|
|
2018-10-23 13:48:04 +00:00
|
|
|
LICENSE= BSDunclear
|
|
|
|
LICENSE_NAME= Unclear BSD License
|
|
|
|
LICENSE_TEXT= License of this software is declared as 'BSD' in pbnc.readme. \
|
|
|
|
But it is not clear which versions of the BSD license (2, \
|
|
|
|
3 or 4 clause) it is. No further file in the source archive \
|
|
|
|
contains license information.
|
2018-10-29 08:24:29 +00:00
|
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
2013-05-04 08:49:36 +00:00
|
|
|
|
2016-04-01 14:16:16 +00:00
|
|
|
RUN_DEPENDS= p5-Net-Netmask>=0:net-mgmt/p5-Net-Netmask
|
2004-04-03 21:12:03 +00:00
|
|
|
|
2013-09-16 06:30:31 +00:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= run
|
2018-10-23 13:48:04 +00:00
|
|
|
|
2004-04-03 21:12:03 +00:00
|
|
|
NO_BUILD= yes
|
2015-08-28 13:39:56 +00:00
|
|
|
NO_ARCH= yes
|
2007-09-30 05:59:59 +00:00
|
|
|
PLIST_FILES= etc/pbnc.cfg bin/pbnc.pl
|
2014-06-08 19:51:27 +00:00
|
|
|
PORTDOCS= pbnc.readme
|
2004-04-03 21:12:03 +00:00
|
|
|
|
2013-05-04 08:49:36 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2004-04-03 21:12:03 +00:00
|
|
|
pre-install:
|
2007-09-30 05:59:59 +00:00
|
|
|
${REINPLACE_CMD} 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/pbnc.pl
|
2004-04-03 21:12:03 +00:00
|
|
|
|
|
|
|
do-install:
|
2013-10-17 06:30:13 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pbnc.cfg ${STAGEDIR}${PREFIX}/etc/pbnc.cfg
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pbnc.pl ${STAGEDIR}${PREFIX}/bin/pbnc.pl
|
|
|
|
|
2015-08-28 13:39:56 +00:00
|
|
|
do-install-DOCS-on:
|
2013-10-17 06:30:13 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
2004-04-03 21:12:03 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|