summaryrefslogtreecommitdiff
path: root/x11/xxkb/Makefile
blob: 17917fdaee598997125cafcad08914c6432748ba (plain)
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
36
37
38
39
40
41
# New ports collection makefile for:	xxkb
# Date created:		5 Mar 2001
# Whom:			Alexander Matey <matey@cis.ohio-state.edu>
#
# $FreeBSD$
#

PORTNAME=		xxkb
PORTVERSION=		1.11
CATEGORIES=		x11
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	xxkb
DISTNAME=		${PORTNAME}-${PORTVERSION}-src

MAINTAINER=		alexander.pohoyda@gmx.net
COMMENT=		An XKB keyboard layout switcher and indicator

WRKSRC=			${WRKDIR}/${PORTNAME}
USE_XPM=		yes
USE_IMAKE=		yes

MAN1=			xxkb.1

OPTIONS=		LIBRSVG	"With SVG(librsvg2) support" off

.include <bsd.port.pre.mk>

.if defined(WITH_LIBRSVG)
LIB_DEPENDS+=		rsvg-2.2:${PORTSDIR}/graphics/librsvg2
XMKMF=			xmkmf -a -DWITH_SVG_SUPPORT
.endif

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.	for file in LICENSE README CHANGES.koi8 README.koi8
	    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.	endfor
.endif

.include <bsd.port.post.mk>