summaryrefslogtreecommitdiff
path: root/sysutils/kkbswitch/Makefile
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-05-24 11:33:19 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-05-24 11:33:19 +0000
commitb6962afa1d54a1e892379befd9e156c54785e6fc (patch)
tree65d33afb60a13a1c495aad4a02f573071ffdb478 /sysutils/kkbswitch/Makefile
parentUpdated to 0.11 (diff)
Update to 1.4
PR: ports/66940 Submitted by: Rashid N. Achilov (maintainer)
Diffstat (limited to 'sysutils/kkbswitch/Makefile')
-rw-r--r--sysutils/kkbswitch/Makefile22
1 files changed, 18 insertions, 4 deletions
diff --git a/sysutils/kkbswitch/Makefile b/sysutils/kkbswitch/Makefile
index 67c639aa1495..6d165a7f1ce0 100644
--- a/sysutils/kkbswitch/Makefile
+++ b/sysutils/kkbswitch/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= kkbswitch
-PORTVERSION= 1.3.1
-PORTREVISION= 2
+PORTVERSION= 1.4
CATEGORIES= sysutils kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= kkbswitch
@@ -25,7 +24,22 @@ CONFIGURE_ARGS += --with-qt-dir=${QT_PREFIX} \
CONFIGURE_TARGET=
+DOCSDIR= share/doc/HTML/en/${PORTNAME}
+
+OPTIONS= RU_UA_LAYOUT "With additional RU_UA keyboard layout" on
+
PLIST_SUB= PREFIX=${PREFIX} \
- X11BASE=${X11BASE}
+ 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.mk>
+.include "${PORTSDIR}/x11/kde3/Makefile.kde"
+.include <bsd.port.post.mk>