summaryrefslogtreecommitdiff
path: root/net/icukrell/Makefile
blob: 9d0dd07e046014dce93d648599cf3bbe75ad855b (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
34
35
# New ports collection makefile for:	icukrell
# Date Created:		2 July 2001
# Whom:			Peter van Heusden <pvh@egenetics.com>
#
# $FreeBSD$
#

PORTNAME=	icukrell
PORTVERSION=	0.1.3
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	pvh@wfeet.za.net
COMMENT=	GKrellM plugin which shows status of gnomeICU

BROKEN=		"Does not compile"

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

USE_X_PREFIX=	yes
USE_GNOME=	gnomelibs

post-patch:
	@${PERL} -pi -ne "s!/usr/local/!${PREFIX}/!" ${WRKSRC}/config.h

do-install:
	@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
		${PREFIX}/libexec/gkrellm/plugins
	@${INSTALL_DATA} ${WRKSRC}/icukrell.so ${PREFIX}/libexec/gkrellm/plugins
	@${INSTALL_PROGRAM} ${WRKSRC}/icukrell-client ${PREFIX}/bin

.include <bsd.port.mk>