| @@ -1,34 +1,34 @@ | | | @@ -1,34 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.40 2015/03/01 20:03:52 joerg Exp $ | | 1 | # $NetBSD: Makefile,v 1.41 2015/03/03 00:38:08 pho Exp $ |
2 | | | 2 | |
3 | DISTNAME= top-3.6.1 | | 3 | DISTNAME= top-3.6.1 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | CATEGORIES= sysutils | | 5 | CATEGORIES= sysutils |
6 | MASTER_SITES= ftp://ftp.groupsys.com/pub/top/ | | 6 | MASTER_SITES= ftp://ftp.groupsys.com/pub/top/ |
7 | | | 7 | |
8 | MAINTAINER= agc@NetBSD.org | | 8 | MAINTAINER= agc@NetBSD.org |
9 | HOMEPAGE= http://www.groupsys.com/topinfo/ | | 9 | HOMEPAGE= http://www.groupsys.com/topinfo/ |
10 | COMMENT= The ubiquitous system monitoring utility | | 10 | COMMENT= The ubiquitous system monitoring utility |
11 | | | 11 | |
12 | GNU_CONFIGURE= yes | | 12 | GNU_CONFIGURE= yes |
13 | | | 13 | |
14 | CONFIGURE_ENV+= SET_OWNER=${BINOWN} | | 14 | CONFIGURE_ENV+= SET_OWNER=${BINOWN} |
15 | CONFIGURE_ENV+= SET_GROUP=${BINGRP} | | 15 | CONFIGURE_ENV+= SET_GROUP=${BINGRP} |
16 | CONFIGURE_ENV+= SET_MODE=${BINMODE} | | 16 | CONFIGURE_ENV+= SET_MODE=${BINMODE} |
17 | | | 17 | |
18 | # ${WRKSRC}/machine/m_macosx.c uses kvm_* interfaces, which have been | | 18 | # ${WRKSRC}/machine/m_macosx.c uses kvm_* interfaces, which have been |
19 | # dropped since Darwin 9. | | 19 | # dropped since Darwin 9. |
20 | BROKEN_ON_PLATFORM+= Darwin-9.*-* | | 20 | BROKEN_ON_PLATFORM+= Darwin-9.*-* |
21 | BROKEN_ON_PLATFORM+= Darwin-[1-9][0-9]*-* | | 21 | BROKEN_ON_PLATFORM+= Darwin-[1-9][0-9]*-* |
22 | | | 22 | |
23 | .include "../../mk/bsd.prefs.mk" | | 23 | .include "../../mk/bsd.prefs.mk" |
24 | | | 24 | |
25 | .if ${OPSYS} == "Darwin" && empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*) | | 25 | .if ${OPSYS} == "Darwin" |
26 | # ${WRKSRC}/configure emits an error saying "macosx module | | 26 | # ${WRKSRC}/configure emits an error saying "macosx module |
27 | # unsupported" without this option. | | 27 | # unsupported" without this option. |
28 | CONFIGURE_ARGS+= --with-module=macosx | | 28 | CONFIGURE_ARGS+= --with-module=macosx |
29 | .endif | | 29 | .endif |
30 | | | 30 | |
31 | post-extract: | | 31 | post-extract: |
32 | ${CP} ${FILESDIR}/m_dragonfly.c ${WRKSRC}/machine | | 32 | ${CP} ${FILESDIR}/m_dragonfly.c ${WRKSRC}/machine |
33 | | | 33 | |
34 | .include "../../mk/bsd.pkg.mk" | | 34 | .include "../../mk/bsd.pkg.mk" |