1999-03-17 11:47:42 +01:00
|
|
|
# $NetBSD: Makefile,v 1.17 1999/03/17 10:47:42 agc Exp $
|
1997-10-03 12:34:32 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.14 1997/04/30 23:49:14 asami Exp
|
|
|
|
#
|
|
|
|
|
1998-02-16 13:17:14 +01:00
|
|
|
DISTNAME= top-3.5beta7
|
1998-06-11 13:30:02 +02:00
|
|
|
PKGNAME= top-3.5b7
|
1997-10-03 12:34:32 +02:00
|
|
|
CATEGORIES= sysutils
|
1997-10-03 13:33:08 +02:00
|
|
|
MASTER_SITES= ftp://ftp.groupsys.com/pub/top/
|
1997-10-03 12:34:32 +02:00
|
|
|
|
1997-10-03 13:33:08 +02:00
|
|
|
MAINTAINER= agc@netbsd.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.groupsys.com/topinfo/
|
1997-10-03 12:34:32 +02:00
|
|
|
|
1997-10-03 13:33:08 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= Configure
|
1999-03-17 11:47:42 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
CONF= netbsd13
|
|
|
|
.elif ${OPSYS} == "SunOS"
|
|
|
|
CONF+= sunos5
|
|
|
|
MAKE_ENV+= CPPFLAGS=
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= ${CONF}
|
1998-10-04 04:35:38 +02:00
|
|
|
|
1999-02-15 05:36:31 +01:00
|
|
|
.if exists(/usr/bin/top)
|
|
|
|
IGNORE= "is part of your NetBSD distribution"
|
|
|
|
.endif
|
|
|
|
|
1998-10-04 04:35:38 +02:00
|
|
|
# UVM definition will be pulled in from pkgsrc's mk/bsd.own.mk for now
|
1998-02-16 20:40:11 +01:00
|
|
|
|
|
|
|
MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}" \
|
1998-02-20 08:19:40 +01:00
|
|
|
COPY="${COPY}" STRIPFLAG="${STRIPFLAG}" \
|
|
|
|
UVM=${UVM}
|
1998-02-16 20:40:11 +01:00
|
|
|
|
1997-10-03 12:34:32 +02:00
|
|
|
pre-configure:
|
1999-03-17 11:47:42 +01:00
|
|
|
${CP} ${FILESDIR}/defaults.${CONF} ${WRKSRC}/.defaults
|
1997-10-03 12:34:32 +02:00
|
|
|
chmod a-x ${WRKSRC}/install
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|