reimport from russian/xruskb since that category is going away
This commit is contained in:
parent
3ed6f2027d
commit
c0389a36e1
47
x11/xruskb/Makefile
Normal file
47
x11/xruskb/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/09/04 19:02:47 jasper Exp $
|
||||
|
||||
COMMENT= english-russian keyboard switcher for X11
|
||||
|
||||
DISTNAME= xruskb-1.15.4
|
||||
REVISION= 2
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= ftp://ftp.yars.free.net/pub/source/xruskb/
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= ICE SM X11 Xext Xmu Xt c
|
||||
|
||||
USE_GROFF = Yes
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
FLAVORS= motif
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mmotif}
|
||||
LIB_DEPENDS+= x11/openmotif
|
||||
WANTLIB+= Xm
|
||||
CONFIGURE_ARGS= --with-toolkit=motif
|
||||
MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm'
|
||||
.else
|
||||
CONFIGURE_ARGS= --with-toolkit=xaw
|
||||
WANTLIB+= Xaw
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@perl -i -pe 's!/usr/!${LOCALBASE}/!' \
|
||||
${WRKSRC}/Xrus.{ad,wmaker}
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xruskb
|
||||
${INSTALL_DATA} ${WRKSRC}/xrus.doc-english \
|
||||
${PREFIX}/share/doc/xruskb/xrus.doc
|
||||
${INSTALL_DATA} ${WRKSRC}/xrus.doc-koi8 ${PREFIX}/share/doc/xruskb
|
||||
${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/xruskb
|
||||
${INSTALL_DATA} ${WRKSRC}/Xrus.ad ${PREFIX}/share/xruskb
|
||||
${INSTALL_DATA} ${WRKSRC}/Xrus.wmaker ${PREFIX}/share/xruskb
|
||||
|
||||
.include <bsd.port.mk>
|
5
x11/xruskb/distinfo
Normal file
5
x11/xruskb/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (xruskb-1.15.4.tar.gz) = N5c+lx0MhAvhkms7o+IA4g==
|
||||
RMD160 (xruskb-1.15.4.tar.gz) = fazspQt2Sg2f2IRJk8dJTybKUC4=
|
||||
SHA1 (xruskb-1.15.4.tar.gz) = 01qV4FNsJnhqNg8OXRgMogmbp1Y=
|
||||
SHA256 (xruskb-1.15.4.tar.gz) = eD0feM3Kg5ugHAyoI2foEOK4vvrAsRsrIgvCnxcZNsk=
|
||||
SIZE (xruskb-1.15.4.tar.gz) = 196209
|
32
x11/xruskb/patches/patch-Xrus_ad
Normal file
32
x11/xruskb/patches/patch-Xrus_ad
Normal file
@ -0,0 +1,32 @@
|
||||
$OpenBSD: patch-Xrus_ad,v 1.1.1.1 2012/09/04 19:02:47 jasper Exp $
|
||||
--- Xrus.ad.orig Mon Feb 14 22:38:19 2000
|
||||
+++ Xrus.ad Mon Aug 13 11:06:04 2001
|
||||
@@ -26,20 +26,20 @@
|
||||
!*modeButton0.labelPixmap: /usr/share/xruskb/usa.xpm
|
||||
!*modeButton1.labelPixmap: /usr/share/xruskb/rus.xpm
|
||||
|
||||
-*modeButton0.labelString: LAT
|
||||
-*modeButton1.labelString: RUS
|
||||
-*modeButton0.label: LAT
|
||||
-*modeButton1.label: RUS
|
||||
+*modeButton0.labelString: En
|
||||
+*modeButton1.labelString: Ru
|
||||
+*modeButton0.label: En
|
||||
+*modeButton1.label: Ru
|
||||
! title0/title1 are shown on icon/window title of xrus, handy for icewm.
|
||||
-*title0: xrus:LAT
|
||||
-*title1: xrus:RUS
|
||||
+*title0: xrus:En
|
||||
+*title1: xrus:Ru
|
||||
|
||||
! this option turns on saving keyboard state for each top level
|
||||
! window and changing it on focus change.
|
||||
!*perWindow: true
|
||||
! titlePerWindow0/titlePerWindow1 are shown on window title in perWindow mode
|
||||
-*titlePerWindow0: (LAT)
|
||||
-*titlePerWindow1: (RUS)
|
||||
+*titlePerWindow0: (En)
|
||||
+*titlePerWindow1: (Ru)
|
||||
|
||||
! whether to make the two buttons equal in size
|
||||
*adjustModeButtons: True
|
18
x11/xruskb/pkg/DESCR
Normal file
18
x11/xruskb/pkg/DESCR
Normal file
@ -0,0 +1,18 @@
|
||||
Short description of Xrus
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Xrus - program for switching two keyboard layouts with a hot
|
||||
key combination. It also serves as autolock.
|
||||
It can be compiled with Motif, Lesstif, Xaw or without any
|
||||
widget library. In the later case it won't show its icon with
|
||||
keyboard indicator.
|
||||
It gets all keyboard and mouse events; when a particular hot
|
||||
key combination is pressed, it swaps 1,2 and 3,4 columns of
|
||||
keyboard map. When a timeout without keyboard and mouse events
|
||||
passes, it starts a locker.
|
||||
|
||||
Author: Alexander V. Lukaynov <lav@yars.free.net>
|
||||
Ported to OpenBSD by: Oleg Safiullin <form@vs.itam.nsc.ru>
|
||||
|
||||
For more details on how to use Xrus, see
|
||||
/usr/X11R6/share/xruskb/xrus.doc (english) or
|
||||
/usr/X11R6/share/xrus/xrus.doc-koi8 (russian)
|
55
x11/xruskb/pkg/PLIST
Normal file
55
x11/xruskb/pkg/PLIST
Normal file
@ -0,0 +1,55 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/09/04 19:02:47 jasper Exp $
|
||||
@pkgpath russian/xruskb,
|
||||
@pkgpath russian/xruskb,motif
|
||||
@pkgpath russian/xrusbd,lesstif
|
||||
@bin bin/xrus
|
||||
@bin bin/xrusmodmap
|
||||
@man man/man1/xrus.1
|
||||
share/doc/xruskb/
|
||||
share/doc/xruskb/README
|
||||
share/doc/xruskb/README.WindowMaker
|
||||
share/doc/xruskb/xrus.doc
|
||||
share/doc/xruskb/xrus.doc-koi8
|
||||
share/xruskb/
|
||||
share/xruskb/DocumentL.xpm
|
||||
share/xruskb/DocumentY.xpm
|
||||
share/xruskb/Xrus.ad
|
||||
@sample /etc/X11/app-defaults/Xrus
|
||||
share/xruskb/Xrus.wmaker
|
||||
share/xruskb/hebrew-iso8.xmm
|
||||
share/xruskb/hebrew.xmm
|
||||
share/xruskb/jcuken-cp1251.xmm
|
||||
share/xruskb/jcuken-cp866.xmm
|
||||
share/xruskb/jcuken-cyr.xmm
|
||||
share/xruskb/jcuken-deru-cp1251.xmm
|
||||
share/xruskb/jcuken-deru-cp866.xmm
|
||||
share/xruskb/jcuken-deru-cyr.xmm
|
||||
share/xruskb/jcuken-deru-iso5.xmm
|
||||
share/xruskb/jcuken-deru-koi8.xmm
|
||||
share/xruskb/jcuken-frru-cp1251.xmm
|
||||
share/xruskb/jcuken-frru-cp866.xmm
|
||||
share/xruskb/jcuken-frru-cyr.xmm
|
||||
share/xruskb/jcuken-frru-iso5.xmm
|
||||
share/xruskb/jcuken-frru-koi8.xmm
|
||||
share/xruskb/jcuken-iso5.xmm
|
||||
share/xruskb/jcuken-koi8.xmm
|
||||
share/xruskb/kbeng.tiff
|
||||
share/xruskb/kbeng.xpm
|
||||
share/xruskb/kbeng8.xpm
|
||||
share/xruskb/kbrus.tiff
|
||||
share/xruskb/kbrus.xpm
|
||||
share/xruskb/kbrus8.xpm
|
||||
share/xruskb/rus.xpm
|
||||
share/xruskb/usa.xpm
|
||||
share/xruskb/yawerty-cp1251.xmm
|
||||
share/xruskb/yawerty-cp866.xmm
|
||||
share/xruskb/yawerty-cyr.xmm
|
||||
share/xruskb/yawerty-deru-cp1251.xmm
|
||||
share/xruskb/yawerty-deru-cp866.xmm
|
||||
share/xruskb/yawerty-deru-cyr.xmm
|
||||
share/xruskb/yawerty-deru-iso5.xmm
|
||||
share/xruskb/yawerty-deru-koi8.xmm
|
||||
share/xruskb/yawerty-iso5.xmm
|
||||
share/xruskb/yawerty-koi8.xmm
|
||||
share/xruskb/yawerty-ua-koi8.xmm
|
||||
share/xruskb/yawerty-ua.xmm
|
Loading…
x
Reference in New Issue
Block a user