aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/kkeyled/Makefile
blob: e5a01e828d3ef11a7da6d29b2598d7777789b673 (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
# New ports collection makefile for:    kkeyled
# Date created:         Tue Mar  2 05:10:59 CET 2004
# Whom:             Markus Brueffer <markus@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   kkeyled
PORTVERSION=    0.8.9
PORTREVISION=   3
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; s|-lpthread|${PTHREAD_LIBS}|g' \
        ${WRKSRC}/${CONFIGURE_SCRIPT}
    @${REINPLACE_CMD} -e 's|/opt/kde3|${PREFIX}|g' \
        ${WRKSRC}/kkeyled/Themicons/kkeyledrc

.include <bsd.port.mk>