2004-04-18 01:17:33 +02:00
|
|
|
# New ports collection makefile for: gkrelltop
|
|
|
|
# Date created: 12 April 2004
|
|
|
|
# Whom: David Gardner
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gkrelltop
|
2004-12-22 02:23:39 +01:00
|
|
|
PORTVERSION= 2.2.6
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 7
|
2004-04-18 01:17:33 +02:00
|
|
|
CATEGORIES= sysutils
|
2004-05-30 11:31:13 +02:00
|
|
|
MASTER_SITES= http://psychology.rutgers.edu/~zaimi/html/gkrelltop/
|
2004-12-22 02:23:39 +01:00
|
|
|
DISTNAME= ${PORTNAME}_2.2-6
|
2004-04-18 01:17:33 +02:00
|
|
|
|
|
|
|
MAINTAINER= david@pinko.net
|
|
|
|
COMMENT= Plugin for gkrellm 2.x shows top three processes, requires procfs
|
|
|
|
|
2005-11-13 16:51:32 +01:00
|
|
|
RUN_DEPENDS= gkrellmd:${PORTSDIR}/sysutils/gkrellm2
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2004-04-18 01:17:33 +02:00
|
|
|
|
2004-08-16 10:40:00 +02:00
|
|
|
USE_GMAKE= yes
|
2005-11-13 16:51:32 +01:00
|
|
|
MAKE_ARGS= INSTALLDIR=${X11BASE}/libexec/gkrellm2/plugins \
|
|
|
|
INSTALLDIRD=${PREFIX}/libexec/gkrellm2/plugins-gkrellmd
|
|
|
|
|
|
|
|
.if defined(GKRELLM_SERVER_ONLY)
|
|
|
|
ALL_TARGET= server
|
|
|
|
INSTALL_TARGET= install-server
|
|
|
|
PLIST_SUB+= CLIENT="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= CLIENT=""
|
|
|
|
.endif
|
|
|
|
|
2004-04-18 01:17:33 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2005-11-13 16:51:32 +01:00
|
|
|
post-patch:
|
|
|
|
.if defined(GKRELLM_SERVER_ONLY)
|
|
|
|
${REINPLACE_CMD} 's/^\(PKG.*\)gkrellm/\1gkrellmd/' ${WRKSRC}/configure
|
|
|
|
.endif
|
2004-04-18 01:17:33 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2005-08-28 23:15:04 +02:00
|
|
|
.include <bsd.port.mk>
|