2013-09-21 01:05:58 +02:00
|
|
|
# Created by: David Gardner
|
2004-04-18 01:17:33 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gkrelltop
|
2013-11-01 22:42:34 +01:00
|
|
|
PORTVERSION= 2.2.13
|
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
|
|
|
|
|
2013-11-01 22:42:34 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
BUILD_DEPENDS= gkrellmd:${PORTSDIR}/sysutils/gkrellm2
|
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
|
2004-04-18 01:17:33 +02:00
|
|
|
|
2013-09-10 23:31:33 +02:00
|
|
|
USES= gmake pkgconfig
|
2013-11-01 22:42:34 +01:00
|
|
|
MAKE_ARGS= CC="${CC} ${CFLAGS} $$(pkg-config gtk+-2.0 --cflags)" \
|
|
|
|
CCD="${CC} ${CFLAGS} $$(pkg-config glib-2.0 --cflags)" \
|
|
|
|
INSTALLDIR=${PREFIX}/libexec/gkrellm2/plugins \
|
2005-11-13 16:51:32 +01:00
|
|
|
INSTALLDIRD=${PREFIX}/libexec/gkrellm2/plugins-gkrellmd
|
|
|
|
|
2013-11-01 22:42:34 +01:00
|
|
|
CFLAGS+= -fPIC -DFREEBSD -DGKRELLM2
|
|
|
|
|
|
|
|
PLIST_FILES= libexec/gkrellm2/plugins-gkrellmd/gkrelltopd.so
|
|
|
|
PLIST_DIRS= libexec/gkrellm2/plugins-gkrellmd \
|
|
|
|
libexec/gkrellm2/plugins \
|
|
|
|
libexec/gkrellm2
|
|
|
|
|
2005-11-13 16:51:32 +01:00
|
|
|
.if defined(GKRELLM_SERVER_ONLY)
|
|
|
|
ALL_TARGET= server
|
|
|
|
.else
|
2013-11-01 22:42:34 +01:00
|
|
|
PLIST_FILES+= libexec/gkrellm2/plugins/gkrelltop.so
|
2005-11-13 16:51:32 +01:00
|
|
|
.endif
|
|
|
|
|
2013-11-01 22:42:34 +01:00
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins-gkrellmd
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} gkrelltopd.so \
|
|
|
|
${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins-gkrellmd)
|
|
|
|
.if !defined(GKRELLM_SERVER_ONLY)
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} gkrelltop.so \
|
|
|
|
${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins)
|
2005-11-13 16:51:32 +01:00
|
|
|
.endif
|
2004-04-18 01:17:33 +02:00
|
|
|
|
2005-08-28 23:15:04 +02:00
|
|
|
.include <bsd.port.mk>
|