2004-04-17 23:17:33 +00:00
|
|
|
# New ports collection makefile for: gkrelltop
|
|
|
|
# Date created: 12 April 2004
|
|
|
|
# Whom: David Gardner
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gkrelltop
|
2004-12-22 01:23:39 +00:00
|
|
|
PORTVERSION= 2.2.6
|
2009-07-31 13:57:52 +00:00
|
|
|
PORTREVISION= 9
|
2004-04-17 23:17:33 +00:00
|
|
|
CATEGORIES= sysutils
|
2004-05-30 09:31:13 +00:00
|
|
|
MASTER_SITES= http://psychology.rutgers.edu/~zaimi/html/gkrelltop/
|
2004-12-22 01:23:39 +00:00
|
|
|
DISTNAME= ${PORTNAME}_2.2-6
|
2004-04-17 23:17:33 +00:00
|
|
|
|
|
|
|
MAINTAINER= david@pinko.net
|
|
|
|
COMMENT= Plugin for gkrellm 2.x shows top three processes, requires procfs
|
|
|
|
|
2005-11-13 15:51:32 +00:00
|
|
|
RUN_DEPENDS= gkrellmd:${PORTSDIR}/sysutils/gkrellm2
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2004-04-17 23:17:33 +00:00
|
|
|
|
2004-08-16 08:40:00 +00:00
|
|
|
USE_GMAKE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
MAKE_ARGS= INSTALLDIR=${LOCALBASE}/libexec/gkrellm2/plugins \
|
2005-11-13 15:51:32 +00:00
|
|
|
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-17 23:17:33 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2005-11-13 15:51:32 +00:00
|
|
|
post-patch:
|
|
|
|
.if defined(GKRELLM_SERVER_ONLY)
|
|
|
|
${REINPLACE_CMD} 's/^\(PKG.*\)gkrellm/\1gkrellmd/' ${WRKSRC}/configure
|
|
|
|
.endif
|
2004-04-17 23:17:33 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2005-08-28 21:15:04 +00:00
|
|
|
.include <bsd.port.mk>
|