aboutsummaryrefslogtreecommitdiff
path: root/sysutils/kkbswitch
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
parent702630daa696a0d0409854375970b99033e351a0 (diff)
downloadports-b6962afa1d54a1e892379befd9e156c54785e6fc.tar.gz
ports-b6962afa1d54a1e892379befd9e156c54785e6fc.zip
Notes
Diffstat (limited to 'sysutils/kkbswitch')
-rw-r--r--sysutils/kkbswitch/Makefile22
-rw-r--r--sysutils/kkbswitch/distinfo4
-rw-r--r--sysutils/kkbswitch/files/patch-aa8
-rw-r--r--sysutils/kkbswitch/pkg-plist23
4 files changed, 42 insertions, 15 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>
diff --git a/sysutils/kkbswitch/distinfo b/sysutils/kkbswitch/distinfo
index dc99f2580066..35f3f2c81efc 100644
--- a/sysutils/kkbswitch/distinfo
+++ b/sysutils/kkbswitch/distinfo
@@ -1,2 +1,2 @@
-MD5 (kkbswitch-1.3.1.tar.gz) = 38dbe77edb599600a6796ccc0d7fd1e0
-SIZE (kkbswitch-1.3.1.tar.gz) = 566701
+MD5 (kkbswitch-1.4.tar.gz) = ff28207eadc3ff0653da18487588c558
+SIZE (kkbswitch-1.4.tar.gz) = 672499
diff --git a/sysutils/kkbswitch/files/patch-aa b/sysutils/kkbswitch/files/patch-aa
new file mode 100644
index 000000000000..bc5c318a0299
--- /dev/null
+++ b/sysutils/kkbswitch/files/patch-aa
@@ -0,0 +1,8 @@
+--- kkbswitch.upd/kkbswitch_update_14_icons.old Tue May 18 13:40:41 2004
++++ kkbswitch.upd/kkbswitch_update_14_icons Thu May 20 15:43:17 2004
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+
+ # update Icons section
+ if [ -z "$DISPLAY" ]; then
diff --git a/sysutils/kkbswitch/pkg-plist b/sysutils/kkbswitch/pkg-plist
index 310f78944636..6e75a76b76f2 100644
--- a/sysutils/kkbswitch/pkg-plist
+++ b/sysutils/kkbswitch/pkg-plist
@@ -1,18 +1,23 @@
bin/kkbswitch
share/applnk/Utilities/kkbswitch.desktop
-share/icons/locolor/16x16/apps/kkbswitch.png
-share/icons/locolor/32x32/apps/kkbswitch.png
+share/autostart/kkbswitch.desktop
share/apps/kkbswitch/group_names
+share/apps/kconf_update/kkbswitch.upd
+share/apps/kconf_update/kkbswitch_update_14_icons
+share/apps/kconf_update/kkbswitch_update_14_options
share/locale/ru/LC_MESSAGES/kkbswitch.mo
-share/doc/HTML/en/kkbswitch/code_style.png
-share/doc/HTML/en/kkbswitch/flag_code_style.png
-share/doc/HTML/en/kkbswitch/flag_style.png
-share/doc/HTML/en/kkbswitch/index.docbook
-share/doc/HTML/en/kkbswitch/index.cache.bz2
+share/locale/uk/LC_MESSAGES/kkbswitch.mo
+share/locale/el/LC_MESSAGES/kkbswitch.mo
+%%DOCSDIR%%/code_style.png
+%%DOCSDIR%%/flag_code_style.png
+%%DOCSDIR%%/flag_style.png
+%%DOCSDIR%%/index.docbook
+%%DOCSDIR%%/index.cache.bz2
@cwd %%X11BASE%%
-lib/X11/xkb/symbols/ru_ua
+%%LAYOUT%%lib/X11/xkb/symbols/ru_ua
@cwd %%PREFIX%%
@dirrm share/apps/kkbswitch
-@dirrm share/doc/HTML/en/kkbswitch
+@dirrm %%DOCSDIR%%/common
+@dirrm %%DOCSDIR%%
@unexec rmdir %D/share/applnk/Utilities 2>/dev/null || true
@unexec rmdir %D/share/applnk 2>/dev/null || true