summaryrefslogtreecommitdiff
path: root/x11/gxkb/Makefile
blob: 91be4a873ad235bbf4bb63beb44cc3abaeb98e4b (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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=	gxkb
PORTVERSION=	0.7.9
CATEGORIES=	x11
MASTER_SITES=	SF/${PORTNAME}

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	X11 keyboard layout indicator and switcher

LICENSE=	GPLv2

LIB_DEPENDS=	libxklavier.so:x11/libxklavier \
		libwnck-1.so:x11-toolkits/libwnck

USES=		pkgconfig
GNU_CONFIGURE=	yes
USE_GNOME=	gdkpixbuf2 glib20 gtk20

PORTDOCS=	AUTHORS NEWS

OPTIONS_DEFINE=	DOCS

post-patch-DOCS-on:
	@${REINPLACE_CMD} -e '/^doc_DATA/s, C[^ ]*,,g' \
		${WRKSRC}/doc/Makefile.in

post-patch-DOCS-off:
	@${REINPLACE_CMD} -e '/^SUBDIRS/s, doc,,' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>