diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-01-20 09:23:05 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-01-20 09:23:05 +0000 |
commit | db494b277fe3ad9cb714b33677757d8d4e078b8e (patch) | |
tree | 1ecf8df7a8c13c7cf1db1f479be1d22478e69643 /deskutils | |
parent | aeea5e77c67547bfcbe3281b362cf95adc0d5807 (diff) | |
download | ports-db494b277fe3ad9cb714b33677757d8d4e078b8e.tar.gz ports-db494b277fe3ad9cb714b33677757d8d4e078b8e.zip |
Notes
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 |