mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Trim old-style header.
- Add LICENSE. - Use OPTIONS_DEFINE.
This commit is contained in:
parent
ed8c7412b5
commit
f2fd822948
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317300
1 changed files with 8 additions and 6 deletions
|
@ -1,7 +1,3 @@
|
|||
# Ports collection makefile for: pbnc
|
||||
# Date created: 03 Apr 2004
|
||||
# Whom: hrs
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pbnc
|
||||
|
@ -14,6 +10,8 @@ DISTNAME= pbnc
|
|||
MAINTAINER= hrs@FreeBSD.org
|
||||
COMMENT= Simple userspace TCP port bouncer
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
RUN_DEPENDS= p5-Net-Netmask>=0:${PORTSDIR}/net-mgmt/p5-Net-Netmask
|
||||
|
||||
NO_BUILD= yes
|
||||
|
@ -21,14 +19,18 @@ USE_PERL5_RUN= yes
|
|||
PLIST_FILES= etc/pbnc.cfg bin/pbnc.pl
|
||||
PORTDOCS= pbnc.readme
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
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}
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue