aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2013-02-02 02:14:02 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2013-02-02 02:14:02 +0000
commit45afc1537fb8302024e480ca41e5127b662ef919 (patch)
treec7fc966493e55118c2ef22df29e72a557b91cf0f /net-mgmt
parent3c7cf5b9384d094e58f0fd72d40382b3170dee76 (diff)
downloadports-45afc1537fb8302024e480ca41e5127b662ef919.tar.gz
ports-45afc1537fb8302024e480ca41e5127b662ef919.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nettop/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/net-mgmt/nettop/Makefile b/net-mgmt/nettop/Makefile
index e85496f916d6..e0b327808cd7 100644
--- a/net-mgmt/nettop/Makefile
+++ b/net-mgmt/nettop/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: nettop
-# Date created: 21 April 2006
-# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
-#
+# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD$
#
@@ -9,7 +6,7 @@ PORTNAME= nettop
PORTVERSION= 0.2.3
PORTREVISION= 3
CATEGORIES= net-mgmt
-MASTER_SITES= http://srparish.net/scripts/
+MASTER_SITES= http://fossies.org/unix/privat/old/
MAINTAINER= leeym@FreeBSD.org
COMMENT= A program which looks like top, but is for network packets
@@ -24,6 +21,11 @@ LDFLAGS+= -lcurses
PLIST_FILES= bin/nettop
PORTDOCS= README THANKS ChangeLog
+DEPRECATED= Dead upstream
+EXPIRATION_DATE=2013-03-01
+
+.include <bsd.port.options.mk>
+
post-patch:
${REINPLACE_CMD} -e '/count.*size/s/(int) //g' ${WRKSRC}/nettop.c
.if !exists(/usr/lib/libpthread.so)
@@ -32,7 +34,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif