aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/bpft
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-08-23 17:43:42 +0000
committerJohn Marino <marino@FreeBSD.org>2016-08-23 17:43:42 +0000
commit8ca87fb1d8767a8b72f175e70182ae22f0e88102 (patch)
tree7eec294a960eebd8636485f4a4ec959f927e4c55 /net-mgmt/bpft
parent40fedca7dfdafbf6fc8321f588271d741d1036fd (diff)
downloadports-8ca87fb1d8767a8b72f175e70182ae22f0e88102.tar.gz
ports-8ca87fb1d8767a8b72f175e70182ae22f0e88102.zip
Notes
Diffstat (limited to 'net-mgmt/bpft')
-rw-r--r--net-mgmt/bpft/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-mgmt/bpft/Makefile b/net-mgmt/bpft/Makefile
index cba6039fba79..b2c96e8e9510 100644
--- a/net-mgmt/bpft/Makefile
+++ b/net-mgmt/bpft/Makefile
@@ -3,6 +3,7 @@
PORTNAME= bpft
PORTVERSION= 4.20040506
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}4/${PORTNAME}4/${PORTNAME}4-snapshot
DISTNAME= ${PORTNAME}4-2004-05-06
@@ -15,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.GNU
CONFLICTS= trafd-3.0.*
-USES= tar:tgz
+USES= ncurses tar:tgz
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ARGS= INSTALL_FILE="${INSTALL_DATA}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
@@ -29,6 +30,7 @@ post-patch:
@${REINPLACE_CMD} -e \
'/^PATH_TOSAVE/s|=.*|= ${PREFIX}/var/bpft| ; \
/^INSTALL_DIRECTORY/s|=.*|= ${MKDIR}| ; \
+ s|-lcurses -ltermcap|-L${LOCALBASE}/lib -lncurses|g ; \
s|please!|&"| ; \
s| $${PATH_| $${DESTDIR}$${PATH_|g ; \
s| $${PREFIX_| $${DESTDIR}$${PREFIX_|g' ${WRKSRC}/Makefile