# New ports collection makefile for:	kkeyled
# Date created:			Tue Mar  2 05:10:59 CET 2004
# Whom:				Markus Brueffer <markus@FreeBSD.org>
#
# $FreeBSD: ports/sysutils/kkeyled/Makefile,v 1.2 2004/04/05 03:29:49 marcus Exp $

PORTNAME=	kkeyled
PORTVERSION=	0.8.9
PORTREVISION=	1
CATEGORIES=	sysutils kde
MASTER_SITES=	http://www.truesoft.ch/dieter/kkeyled/software/

MAINTAINER=	markus@FreeBSD.org
COMMENT=	Panel applet to display the keyboard's LED states

USE_KDELIBS_VER=3
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_REINPLACE=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
	@${REINPLACE_CMD} -e 's|/opt/kde3|${PREFIX}|g' \
		${WRKSRC}/kkeyled/Themicons/kkeyledrc

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/x11/kde3/Makefile.kde"
.include <bsd.port.post.mk>
