blob: 903991e8f7f65c872b4818e547e4881b5e305c8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.27 2003/07/17 22:53:55 grant Exp $
# FreeBSD Id: Makefile,v 1.14 1997/04/30 23:49:14 asami Exp
#
DISTNAME= top-3.5beta9
PKGNAME= top-3.5b9
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.groupsys.com/pub/top/
MAINTAINER= agc@NetBSD.org
HOMEPAGE= http://www.groupsys.com/topinfo/
COMMENT= The ubiquitous system monitoring utility
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./Configure
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
CONF= netbsd13
.elif ${OPSYS} == "SunOS"
CONF+= sunos5
MAKE_ENV+= CPPFLAGS=
.endif
CONFIGURE_ARGS+= ${CONF}
.if exists(/usr/bin/top)
PKG_SKIP_REASON= "${PKGNAME} is part of your ${OPSYS} distribution"
.endif
MAKE_ENV+= COPY="${COPY}" STRIPFLAG="${_STRIPFLAG_INSTALL}"
pre-configure:
${CP} ${FILESDIR}/defaults.${CONF} ${WRKSRC}/.defaults
${CHMOD} a-x ${WRKSRC}/install
.include "../../mk/bsd.pkg.mk"
|