diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-05-04 08:49:36 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-05-04 08:49:36 +0000 |
commit | f2fd822948ac60ae25f42581b91b2ab93a8c9557 (patch) | |
tree | decf6cd2f3e7161c02709c572e81b5476a70f6b2 /net/pbnc/Makefile | |
parent | ed8c7412b5183989e4524d5f81e26342d5b1e439 (diff) | |
download | ports-f2fd822948ac60ae25f42581b91b2ab93a8c9557.tar.gz ports-f2fd822948ac60ae25f42581b91b2ab93a8c9557.zip |
Notes
Diffstat (limited to 'net/pbnc/Makefile')
-rw-r--r-- | net/pbnc/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/net/pbnc/Makefile b/net/pbnc/Makefile index 89c2597de25e..65fd7032de71 100644 --- a/net/pbnc/Makefile +++ b/net/pbnc/Makefile @@ -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 |