blob: f4ebb2a7d9560e353e9cbfebd56331aa03342f33 (
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
33
34
35
36
37
38
39
40
41
42
|
# New ports collection makefile for: kkbswitch
# Date created: 01 Oct 2003
# Whom: Rashid N. Achilov <shelton@granch.ru>
#
# $FreeBSD$
#
PORTNAME= kkbswitch
PORTVERSION= 1.4.1
CATEGORIES= sysutils kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= kkbswitch
MAINTAINER= shelton@granch.ru
COMMENT= Keyboard layout switcher and indicator for KDE 3.x
USE_KDELIBS_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS += --with-qt-dir=${QT_PREFIX} \
--with-extra-includes=${LOCALBASE}/include \
--with-extra-libs=${LOCALBASE}/lib
DOCSDIR= share/doc/HTML/en/${PORTNAME}
OPTIONS= RU_UA_LAYOUT "With additional RU_UA keyboard layout" on
PLIST_SUB= PREFIX=${PREFIX} \
X11BASE=${X11BASE} \
DOCSDIR=${DOCSDIR}
.include <bsd.port.pre.mk>
.if defined(WITH_RU_UA_LAYOUT)
PLIST_SUB+= LAYOUT=""
.else
CONFIGURE_ARGS+= --disable-ru-ua-layout
PLIST_SUB+= LAYOUT="@comment "
.endif
.include <bsd.port.post.mk>
|