2013-07-22 20:15:40 +02:00
|
|
|
# Whom: David Gardner
|
2004-04-18 01:17:33 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gkrelltop
|
2013-07-22 20:15:40 +02:00
|
|
|
PORTVERSION= 2.2.10
|
2004-04-18 01:17:33 +02:00
|
|
|
CATEGORIES= sysutils
|
2013-07-22 20:15:40 +02:00
|
|
|
MASTER_SITES= SF
|
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
2004-04-18 01:17:33 +02:00
|
|
|
|
2013-07-27 00:02:09 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-04-18 01:17:33 +02:00
|
|
|
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
|
2012-06-10 20:42:48 +02:00
|
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
2004-04-18 01:17:33 +02:00
|
|
|
|
2013-07-22 20:15:40 +02:00
|
|
|
USES= gmake
|
- 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 19:56:05 +02:00
|
|
|
MAKE_ARGS= INSTALLDIR=${LOCALBASE}/libexec/gkrellm2/plugins \
|
2005-11-13 16:51:32 +01: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
|
|
|
|
|
2013-07-22 20:15:40 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
|
2004-04-18 01:17:33 +02:00
|
|
|
|
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>
|