svn commit: r311409 - head/net-mgmt/nettop
Yen-Ming Lee
leeym at FreeBSD.org
Sat Feb 2 02:14:03 UTC 2013
Author: leeym
Date: Sat Feb 2 02:14:02 2013
New Revision: 311409
URL: http://svnweb.freebsd.org/changeset/ports/311409
Log:
- mark DEPRECATED with EXPIRATION_DATE for one month
Modified:
head/net-mgmt/nettop/Makefile
Modified: head/net-mgmt/nettop/Makefile
==============================================================================
--- head/net-mgmt/nettop/Makefile Sat Feb 2 00:52:49 2013 (r311408)
+++ head/net-mgmt/nettop/Makefile Sat Feb 2 02:14:02 2013 (r311409)
@@ -1,7 +1,4 @@
-# New ports collection makefile for: nettop
-# Date created: 21 April 2006
-# Whom: Yen-Ming Lee <leeym at FreeBSD.org>
-#
+# Created by: Yen-Ming Lee <leeym at 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 at 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
More information about the svn-ports-head
mailing list