# $Id: Portfile 56061 2009-08-24 00:33:19Z ryandesign@macports.org $

PortSystem 1.0
name		xruskb
version		1.15.3
revision        1
categories	x11 russian
platforms	darwin
maintainers	crazic.ru:jc
description	program for switching two keyboard layouts
long_description \
   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.

homepage	http://www.yars.free.net/~lav/programs.html
master_sites	ftp://ftp.tu-chemnitz.de/.SAN0/pub/linux/sunsite.unc-mirror/distributions/amigolinux/download/Applications/Misc/xruskb-1.15.3/

use_bzip2 yes
checksums           md5     3b7de670eab1d805472a1549d26e4e81 \
                    sha1    04d6336dc48ed55d0f1adee43e93cf0291c48232 \
                    rmd160  e85ddecb34faec001cc125bdd87a473612e3b9e8

depends_lib port:xorg-libXmu

variant motif {
	configure.args-append --with-motif  
	depends_lib-append lib:libXm:openmotif
}
