summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-09-02 11:03:40 +0000
committeredwin <edwin@FreeBSD.org>2004-09-02 11:03:40 +0000
commit6feba3af13221ff724cdc10189198ae63a277e6e (patch)
tree0868a799f0edc3a370df5aecb3387f04d502abcf /sysutils
parent602a4c28f94a4df0cee86f586d2d1f25295f671d (diff)
downloadFreeBSD-ports-6feba3af13221ff724cdc10189198ae63a277e6e.zip
FreeBSD-ports-6feba3af13221ff724cdc10189198ae63a277e6e.tar.gz
Finish experiment in having a replacable top in the ports tree which
is an update for the top in the base system. Despite all my good intentions I never was able to keep up to date with the releases and their patches to the base system.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/top/Makefile115
-rw-r--r--sysutils/top/distinfo26
-rw-r--r--sysutils/top/files/pkg-message-base7
-rw-r--r--sysutils/top/pkg-descr8
-rw-r--r--sysutils/top/pkg-plist1
6 files changed, 0 insertions, 158 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index bac85de..5c5a24c 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -411,7 +411,6 @@
SUBDIR += ticker.app
SUBDIR += timelimit
SUBDIR += tmpwatch
- SUBDIR += top
SUBDIR += torsmo
SUBDIR += toshctl
SUBDIR += tree
diff --git a/sysutils/top/Makefile b/sysutils/top/Makefile
deleted file mode 100644
index e9f2202..0000000
--- a/sysutils/top/Makefile
+++ /dev/null
@@ -1,115 +0,0 @@
-# New ports collection makefile for: top
-# Date created: 9 January 2004
-# Whom: Edwin Groothuis (edwin@mavetju.org)
-#
-# $FreeBSD$
-#
-
-PORTNAME= top
-PORTVERSION= ${VERSION}.${BETA}
-CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:main/:S/%SUBDIR%/unixtop/} \
- http://www.mavetju.org/download/adopted/:freebsd
-MASTER_SITE_SUBDIR= unixtop:main
-DISTFILES= ${PORTNAME}-${VERSION}beta${BETA}${EXTRACT_SUFX}:main \
- top-${VERSION}beta${BETA}-src-FreeBSD${OSREL:S/.//}${EXTRACT_SUFX}:freebsd
-
-PATCH_SITES= http://www.mavetju.org/download/adopted/
-PATCHFILES= top-${VERSION}beta${BETA}-contrib-FreeBSD${OSREL:S/.//}.gz
-
-MAINTAINER= edwin@mavetju.org
-COMMENT= Display and update information about the top cpu processes
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${VERSION}beta${BETA}
-VERSION= 3.5
-BETA= 13
-MAN1= top.1
-
-USE_REINPLACE= yes
-
-.if defined(TOP_OVERWRITE_BASE)
-PREFIX= /usr
-PKGNAMESUFFIX= -overwrite-base
-MANPREFIX= ${PREFIX}/share
-CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man
-PLIST_SUB+= NOTBASE="@comment "
-PLIST_SUB+= BASE=""
-PKGMESSAGE= ${FILESDIR}/pkg-message-base
-.else
-PLIST_SUB+= BASE="@comment "
-PLIST_SUB+= NOTBASE=""
-.endif
-
-CFLAGS+= -DORDER -DHAVE_STRERROR -DHAVE_GETOPT -DBETA=\\"beta${BETA}\\"
-
-FREEBSDFILES= machine.c sigdesc.h top.local.1
-
-.include <bsd.port.pre.mk>
-
-OSREV!= ${UNAME} -r | ${TR} -cd A-Za-z0-9
-
-.if ${OSVERSION} >= 490102 && ${OSVERSION} < 500000
-BROKEN= "Does not fetch on 4.10"
-.endif
-
-.if ${OSVERSION} < 470000
-IGNORE= "This port is not supported for this OS version."
-.endif
-
-.if !defined(TOP_OVERWRITE_BASE)
-pre-everything::
- @${ECHO_MSG} "Use TOP_OVERWRITE_BASE=yes to install over the default top"
- @/bin/sleep 5
-.endif
-
-#
-# Use the same method for configuring as the base top installation
-#
-post-extract:
-.for f in ${FREEBSDFILES}
- @${CP} ${WRKDIR}/src/usr.bin/top/${f} ${WRKSRC}/$f
-.endfor
- @${CP} ${WRKSRC}/Makefile.X ${WRKSRC}/Makefile
- @${CP} ${WRKSRC}/top.local.H ${WRKSRC}/top.local.h
- @${CP} ${WRKSRC}/top.X ${WRKSRC}/top.1
- @${CAT} ${WRKDIR}/src/usr.bin/top/top.local.1 >> ${WRKSRC}/top.1
-
-post-patch:
- ${REINPLACE_CMD} \
- -e 's,%shell%,${SH},g' \
- -e 's,%cc%,${CC},g' \
- -e 's,%awk%,${AWK},g' \
- -e 's,%install%,${INSTALL},g' \
- -e 's,%owner%,${BINOWN},g' \
- -e 's,%group%,kmem,g' \
- -e 's,%mode%,2555,g' \
- -e 's,%bindir%,${PREFIX}/bin,g' \
- -e 's,%mandir%,${MANPREFIX}/man/man1/,g' \
- -e 's,%manext%,1,g' \
- -e 's,%mansty%,man,g' \
- -e 's,%signal%,,g' \
- -e 's,%topn%,-1,g' \
- -e 's,%delay%,2,g' \
- -e 's,%cflgs%,${CFLAGS},g' \
- -e 's,%cdefs%,,g' \
- -e 's,%libs%,-lkvm,g' \
- -e 's,%termcap%,-ltermcap,g' \
- -e 's,%math%,-lm,g' \
- -e 's,%osrev%,-DOSREV=${OSREV},g' \
- ${WRKSRC}/Makefile
- ${REINPLACE_CMD} \
- -e 's,%LoadMax%,5.0,g' \
- -e 's,%TableSize%,20011,g' \
- -e 's,%NominalTopn%,18,g' \
- -e 's,%topn%,-1,g' \
- -e 's,%delay%,2,g' \
- -e 's,%random%,1,g' \
- ${WRKSRC}/top.local.h \
- ${WRKSRC}/top.1 \
-
-.if defined(TOP_OVERWRITE_BASE)
-post-install:
- ${CAT} ${PKGMESSAGE}
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/sysutils/top/distinfo b/sysutils/top/distinfo
deleted file mode 100644
index bd69ba0..0000000
--- a/sysutils/top/distinfo
+++ /dev/null
@@ -1,26 +0,0 @@
-MD5 (top-3.5beta13.tar.gz) = c494fecd6238b300e040ec58fe1be5f3
-SIZE (top-3.5beta13.tar.gz) = 244457
-MD5 (top-3.5beta13-contrib-FreeBSD47.gz) = 1d94f16b6cd653714e1c17d238b829c9
-SIZE (top-3.5beta13-contrib-FreeBSD47.gz) = 7456
-MD5 (top-3.5beta13-contrib-FreeBSD48.gz) = 8c4beac211263fdef7f5e30989bf6555
-SIZE (top-3.5beta13-contrib-FreeBSD48.gz) = 7456
-MD5 (top-3.5beta13-contrib-FreeBSD49.gz) = 259a4612d9f96d325601d95a1b83ab5a
-SIZE (top-3.5beta13-contrib-FreeBSD49.gz) = 7629
-MD5 (top-3.5beta13-contrib-FreeBSD50.gz) = cf292bbe2909aecd85491504e438b3d8
-SIZE (top-3.5beta13-contrib-FreeBSD50.gz) = 7442
-MD5 (top-3.5beta13-contrib-FreeBSD51.gz) = f1440f89400f2668a6b3987ed6dc870d
-SIZE (top-3.5beta13-contrib-FreeBSD51.gz) = 7442
-MD5 (top-3.5beta13-contrib-FreeBSD52.gz) = c69321a6d7400d8845d029536729cc6b
-SIZE (top-3.5beta13-contrib-FreeBSD52.gz) = 7697
-MD5 (top-3.5beta13-src-FreeBSD47.tar.gz) = 6a324a781abd34b9c8cf46571529dbe3
-SIZE (top-3.5beta13-src-FreeBSD47.tar.gz) = 10320
-MD5 (top-3.5beta13-src-FreeBSD48.tar.gz) = 3b813bbe935c65aaa4cda31cb23a3b78
-SIZE (top-3.5beta13-src-FreeBSD48.tar.gz) = 10330
-MD5 (top-3.5beta13-src-FreeBSD49.tar.gz) = 31446e93c90575a27ee9cc5e2230d91d
-SIZE (top-3.5beta13-src-FreeBSD49.tar.gz) = 10329
-MD5 (top-3.5beta13-src-FreeBSD50.tar.gz) = d556d6d1b576e978156e988da44975c3
-SIZE (top-3.5beta13-src-FreeBSD50.tar.gz) = 9201
-MD5 (top-3.5beta13-src-FreeBSD51.tar.gz) = 1497c850f1b7441cbce929103b6618d8
-SIZE (top-3.5beta13-src-FreeBSD51.tar.gz) = 9198
-MD5 (top-3.5beta13-src-FreeBSD52.tar.gz) = 4b2bfe9b07d79c2198cd2888069c78a3
-SIZE (top-3.5beta13-src-FreeBSD52.tar.gz) = 8973
diff --git a/sysutils/top/files/pkg-message-base b/sysutils/top/files/pkg-message-base
deleted file mode 100644
index 0bf9e81..0000000
--- a/sysutils/top/files/pkg-message-base
+++ /dev/null
@@ -1,7 +0,0 @@
-***************************************
-* You can always reinstall the older *
-* top via the source directory of the *
-* base system: *
-* $ cd /usr/src/usr.bin/top *
-* $ make && make install *
-***************************************
diff --git a/sysutils/top/pkg-descr b/sysutils/top/pkg-descr
deleted file mode 100644
index 55b0704..0000000
--- a/sysutils/top/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Top displays the top processes on the system and periodically
-updates this information. If standard output is an intelligent
-terminal (see below) then as many processes as will fit on the
-terminal screen are displayed by default. Otherwise, a good
-number of them are shown (around 20). Raw cpu percentage is used
-to rank the processes.
-
-WWW: http://www.groupsys.com/top/
diff --git a/sysutils/top/pkg-plist b/sysutils/top/pkg-plist
deleted file mode 100644
index 48d83f8..0000000
--- a/sysutils/top/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-bin/top
OpenPOWER on IntegriCloud