blob: 22e4182172d0167b3a97bdf35194d6950de86195 (
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
39
40
41
42
43
|
# New ports collection makefile for: top
# Version required: 3.5beta7
# Date created: 25 Sep 1994
# Whom: swallace
#
# $NetBSD: Makefile,v 1.7 1998/02/16 19:40:11 tron Exp $
# FreeBSD Id: Makefile,v 1.14 1997/04/30 23:49:14 asami Exp
#
DISTNAME= top-3.5beta7
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.groupsys.com/pub/top/
MAINTAINER= agc@netbsd.org
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}" \
COPY="${COPY}" STRIPFLAG="${STRIPFLAG}"
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
CONFIGURE_ARGS+= freebsd2
.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
.include <bsd.port.mk>
|