diff options
author | sat <sat@FreeBSD.org> | 2007-01-20 17:23:05 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2007-01-20 17:23:05 +0800 |
commit | d40f9a5ae7435349feaf4c44c9036d03cd02a2a7 (patch) | |
tree | ce211d3b34f6ab7e4323982e1e893553e3d0b65d /deskutils | |
parent | 13cdb05dd714cb4fd17b12001248cdfb9b6a4f6e (diff) | |
download | freebsd-ports-gnome-d40f9a5ae7435349feaf4c44c9036d03cd02a2a7.tar.gz freebsd-ports-gnome-d40f9a5ae7435349feaf4c44c9036d03cd02a2a7.tar.zst freebsd-ports-gnome-d40f9a5ae7435349feaf4c44c9036d03cd02a2a7.zip |
Add port russian/xneur:
XNeur - backend for gXNeur - automatic keyboard switcher
WWW: http://www.xneur.ru/
PR: ports/108099
Submitted by: Alex "lissyara" Keda <admin@lissyara.su>
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/xneur/Makefile | 31 | ||||
-rw-r--r-- | deskutils/xneur/distinfo | 3 | ||||
-rw-r--r-- | deskutils/xneur/pkg-descr | 3 | ||||
-rw-r--r-- | deskutils/xneur/pkg-plist | 18 |
4 files changed, 55 insertions, 0 deletions
diff --git a/deskutils/xneur/Makefile b/deskutils/xneur/Makefile new file mode 100644 index 000000000000..8f8a4e3e0c6d --- /dev/null +++ b/deskutils/xneur/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: xneur +# Date created: 19 January 2007 +# Whom: Alex "lissyara" Keda <admin@lissyara.su> +# +# $FreeBSD$ +# + +PORTNAME= XNeur +PORTVERSION= 0.3 +CATEGORIES= russian +MASTER_SITES= http://dists.xneur.ru/release-0.3.0/tgz/ CSME + +MAINTAINER= admin@lissyara.su +COMMENT= Auto keyboard switcher + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-static +USE_XLIB= yes +USE_BZIP2= yes +USE_LDCONFIG= yes + +post-patch: + @${REINPLACE_CMD} -e '/chmod/s|a\+|u+|' ${WRKSRC}/etc/Makefile.in + @${REINPLACE_CMD} -e '/^am__strip_dir/s#`;#|sed -Ee "s/^(xneurrc|dict)$$$$/\\1.dist/"`;#' \ + ${WRKSRC}/etc/Makefile.in ${WRKSRC}/etc/*/Makefile.in + +post-install: + @for i in ${PREFIX}/etc/xneur/*.dist ${PREFIX}/etc/xneur/*/*.dist;\ + do ${CP} -np $$i $${i%.dist}; done + +.include <bsd.port.mk> diff --git a/deskutils/xneur/distinfo b/deskutils/xneur/distinfo new file mode 100644 index 000000000000..f820e97a15be --- /dev/null +++ b/deskutils/xneur/distinfo @@ -0,0 +1,3 @@ +MD5 (XNeur-0.3.tar.bz2) = 3732ef3a8d36064beac250b89a568aad +SHA256 (XNeur-0.3.tar.bz2) = 6a42c5a8073d72d279756bfc43ec26d574277d4bca61fa0bf7da569a6eaff136 +SIZE (XNeur-0.3.tar.bz2) = 349569 diff --git a/deskutils/xneur/pkg-descr b/deskutils/xneur/pkg-descr new file mode 100644 index 000000000000..db7b76bed90a --- /dev/null +++ b/deskutils/xneur/pkg-descr @@ -0,0 +1,3 @@ +XNeur - backend for gXNeur - automatic keyboard switcher + +WWW: http://www.xneur.ru/ diff --git a/deskutils/xneur/pkg-plist b/deskutils/xneur/pkg-plist new file mode 100644 index 000000000000..d29214ea85f6 --- /dev/null +++ b/deskutils/xneur/pkg-plist @@ -0,0 +1,18 @@ +bin/xneur +@unexec if cmp -s %D/etc/xneur/en/dict %D/etc/xneur/en/dict.dist; then rm -f %D/etc/xneur/en/dict; fi +etc/xneur/en/dict.dist +@exec if [ ! -f %D/etc/xneur/en/dict ] ; then cp -p %D/%F %B/dict; fi +etc/xneur/en/proto +@unexec if cmp -s %D/etc/xneur/ru/dict %D/etc/xneur/ru/dict.dist; then rm -f %D/etc/xneur/ru/dict; fi +etc/xneur/ru/dict.dist +@exec if [ ! -f %D/etc/xneur/ru/dict ] ; then cp -p %D/%F %B/dict; fi +etc/xneur/ru/proto +@unexec if cmp -s %D/etc/xneur/xneurrc %D/etc/xneur/xneurrc.dist; then rm -f %D/etc/xneur/xneurrc; fi +etc/xneur/xneurrc.dist +@exec if [ ! -f %D/etc/xneur/xneurrc ] ; then cp -p %D/%F %B/xneurrc; fi +lib/libxnconfig.so.3 +lib/libxnconfig.so +lib/libxnconfig.la +@dirrmtry etc/xneur/ru +@dirrmtry etc/xneur/en +@dirrmtry etc/xneur |