summaryrefslogtreecommitdiff
path: root/sysutils/gkrelltop/Makefile
blob: 8a28ad5618fe8f77f2d3338e3d439d85a50fb4e5 (plain) (blame)
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
# New ports collection makefile for:	gkrelltop
# Date created:				12 April 2004
# Whom:					David Gardner
#
# $FreeBSD$
#

PORTNAME=	gkrelltop
PORTVERSION=	2.2.4
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	http://psychology.rutgers.edu/~zaimi/html/gkrelltop/
DISTNAME=	${PORTNAME}.${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	david@pinko.net
COMMENT=	Plugin for gkrellm 2.x shows top three processes, requires procfs

RUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm2
BUILD_DEPENDS=	${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2

USE_GMAKE=	yes
MAKE_ARGS=	INSTALLDIR=${PREFIX}/libexec/gkrellm2/plugins \
		INSTALLDIRD=${PREFIX}/libexec/gkrellm2/plugins
USE_X_PREFIX=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

PLIST_FILES=	libexec/gkrellm2/plugins/gkrelltop.so \
		libexec/gkrellm2/plugins/gkrelltopd.so

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>