aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gkrellm-xkb/Makefile
blob: ee1580ee983968cd23f82e5fb0e694546ec326f1 (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
# Created by: Pav Lucistnik <pav@oook.cz>
# $FreeBSD$

PORTNAME=   gkrellm-xkb
PORTVERSION=    1.05
PORTREVISION=   10
CATEGORIES= misc x11
MASTER_SITES=   http://www.sweb.cz/tripie/gkrellm/xkb/dist/

MAINTAINER= ports@FreeBSD.org
COMMENT=    X keyboard layout plugin for GKrellM

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

USES=       pkgconfig
PLIST_FILES=    libexec/gkrellm2/plugins/xkb.so
MAKE_ENV=   PLUGIN_DIR=${PLUGINDIR}
ALL_TARGET= xkb.so
PLUGINDIR=  ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins

post-patch:
    @${REINPLACE_CMD} '/$$(CC)/ s|FLAGS|CFLAGS|' ${WRKSRC}/Makefile

pre-install:
    @${MKDIR} ${PLUGINDIR}

.include <bsd.port.mk>