aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gkrellmfmonitor/Makefile
blob: 2152eddf8d8682e755889fe2b63ad91f73b24c47 (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
32
33
# New ports collection makefile for:    gkrellmfmonitor
# Date Created:     08 Sep 2002
# Whom:         Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
# $Id: Makefile,v 1.2 2002/11/09 03:14:54 jylefort Exp $
#

PORTNAME=   gkrellmfmonitor
PORTVERSION=    0.3
PORTREVISION=   3
CATEGORIES= misc
MASTER_SITES=   # none
DISTNAME=   fmonitor-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    GKrellM FMonitor plugin

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

PLIST_FILES=    libexec/gkrellm/plugins/fmonitor.so
USE_X_PREFIX=   yes
USE_GNOME=  imlib
ALL_TARGET= fmonitor.so
CFLAGS+=    -fPIC `${GTK_CONFIG} --cflags` `imlib-config --cflags-gdk`
MAKE_ARGS=  CC="${CC} ${CFLAGS}" GTK_LIB="`${GTK_CONFIG} --libs`"

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/fmonitor.so ${PREFIX}/libexec/gkrellm/plugins

.include <bsd.port.mk>