diff options
author | agc <agc> | 1997-10-03 11:33:08 +0000 |
---|---|---|
committer | agc <agc> | 1997-10-03 11:33:08 +0000 |
commit | 79a0f0aa201b44148b40c94e84ef53c868c6f14b (patch) | |
tree | 1e7580bd226db39437771ea885920fd8ac041711 | |
parent | 218f51bce25f5bb2e952eefba7b0bb59ab956881 (diff) | |
download | pkgsrc-79a0f0aa201b44148b40c94e84ef53c868c6f14b.tar.gz |
Modified files for the NetBSD pkg of the system utility top.
-rw-r--r-- | sysutils/top/Makefile | 25 | ||||
-rw-r--r-- | sysutils/top/files/defaults | 4 | ||||
-rw-r--r-- | sysutils/top/files/md5 | 2 | ||||
-rw-r--r-- | sysutils/top/pkg/DESCR | 6 |
4 files changed, 25 insertions, 12 deletions
diff --git a/sysutils/top/Makefile b/sysutils/top/Makefile index a26bef0bdd7..ce44bf8e415 100644 --- a/sysutils/top/Makefile +++ b/sysutils/top/Makefile @@ -1,30 +1,39 @@ +# $NetBSD: Makefile,v 1.2 1997/10/03 11:33:08 agc Exp $ # New ports collection makefile for: top -# Version required: 3.4 +# Version required: 3.5beta5 # Date created: 25 Sep 1994 # Whom: swallace # # FreeBSD Id: Makefile,v 1.14 1997/04/30 23:49:14 asami Exp # -DISTNAME= top-3.4 +DISTNAME= top-3.5beta5 CATEGORIES= sysutils -MASTER_SITES= ftp://eecs.nwu.edu/pub/top/ +MASTER_SITES= ftp://ftp.groupsys.com/pub/top/ -MAINTAINER= peter@FreeBSD.org +MAINTAINER= agc@netbsd.org +HAS_CONFIGURE= yes +CONFIGURE_SCRIPT= Configure +MAN1= top.1 + +OPSYS!= uname -s + +.if (${OPSYS} == "FreeBSD") OSVERSION!= sysctl -n kern.osreldate .if ${OSVERSION} >= 221002 BROKEN= "top is included in FreeBSD version 221002 or later" .endif - -HAS_CONFIGURE= yes -CONFIGURE_SCRIPT= Configure CONFIGURE_ARGS= freebsd2 -MAN1= top.1 +.elif (${OPSYS} == "NetBSD") +CONFIGURE_ARGS= netbsd13 +.endif pre-configure: ${CP} ${FILESDIR}/defaults ${WRKSRC}/.defaults +.if (${OPSYS} == "FreeBSD") ${CP} ${FILESDIR}/m_freebsd2.* ${WRKSRC}/machine +.endif chmod a-x ${WRKSRC}/install post-install: diff --git a/sysutils/top/files/defaults b/sysutils/top/files/defaults index 2d4b8e8dd5a..06173481ee8 100644 --- a/sysutils/top/files/defaults +++ b/sysutils/top/files/defaults @@ -1,4 +1,4 @@ -set module = 'freebsd21' +set module = 'netbsd13' set LoadMax = '5.0' set topn = '-1' set NominalTopn = '18' @@ -15,5 +15,5 @@ set mansty = 'man' set Cmdshell = '/bin/sh' set Cmdcc = 'cc' set Cmdawk = 'awk' -set Cmdinstall = './install' +set Cmdinstall = '/usr/bin/install' set cdefs = '-DHAVE_GETOPT -O' diff --git a/sysutils/top/files/md5 b/sysutils/top/files/md5 index 9f330a8dfb9..d31898e3070 100644 --- a/sysutils/top/files/md5 +++ b/sysutils/top/files/md5 @@ -1 +1 @@ -MD5 (top-3.4.tar.gz) = 43192c55721c5d9788a4af484ff9cf62 +MD5 (top-3.5beta5.tar.gz) = 3f9e769824a16e4316dfaaf2eac19c39 diff --git a/sysutils/top/pkg/DESCR b/sysutils/top/pkg/DESCR index d2a83f98c05..0236a24fce1 100644 --- a/sysutils/top/pkg/DESCR +++ b/sysutils/top/pkg/DESCR @@ -1,5 +1,5 @@ TOP - Version 3.3 + Version 3.5beta5 William LeFebvre and a cast of dozens @@ -9,3 +9,7 @@ the system, including a list of the top cpu using processes. Version 3 of "top" has three primary design goals: provide an accurate snapshot of the system and process state, not be one of the top processes itself, be as portable as possible. + +Luke Mewburn <lukem@connect.com.au> is responsible for the NetBSD 1.2G +machine module, with a further modification to that by +christos@deshaw.com (Christos Zoulas). |