summaryrefslogtreecommitdiff
path: root/sysutils/gkrellflynn/Makefile
blob: c501301f4f1ed02c40d7cbfaf9b74ec69e6ed273 (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
# Created by: Patrick Li <pat@databits.net>
# $FreeBSD$

PORTNAME=	gkrellflynn
PORTVERSION=	0.8
PORTREVISION=	8
CATEGORIES=	sysutils
MASTER_SITES=	http://mirror.amdmi3.ru/distfiles/ \
		http://horus.comlab.uni-rostock.de/flynn/

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	A tiny system load meter for gkrellm

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

PLIST_FILES=	libexec/gkrellm2/plugins/gkrellflynn.so
USES=		pkgconfig
USE_GNOME=	gtk20
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -c -fPIC"
ALL_TARGET=	${PORTNAME}.so

CFLAGS+=	`pkg-config --cflags gtk+-2.0 gthread-2.0` \
		-I${LOCALBASE}/include -DGKRELLM2

NO_STAGE=	yes
do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/gkrellflynn.so \
		${PREFIX}/libexec/gkrellm2/plugins

.include <bsd.port.mk>