aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-03-12 18:12:00 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-03-12 18:12:00 +0000
commit0929218aaecfd98542ee68255444d12942298deb (patch)
tree4e8e390e51615f3eb1579ed8e68a63c4fec87275 /deskutils
parentdf9b9def3c7267aed9adff387441386b87407754 (diff)
downloadports-0929218aaecfd98542ee68255444d12942298deb.tar.gz
ports-0929218aaecfd98542ee68255444d12942298deb.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/xneur/Makefile12
-rw-r--r--deskutils/xneur/distinfo6
-rw-r--r--deskutils/xneur/pkg-plist68
3 files changed, 75 insertions, 11 deletions
diff --git a/deskutils/xneur/Makefile b/deskutils/xneur/Makefile
index 8f8a4e3e0c6d..f2da1cd70665 100644
--- a/deskutils/xneur/Makefile
+++ b/deskutils/xneur/Makefile
@@ -5,14 +5,16 @@
# $FreeBSD$
#
-PORTNAME= XNeur
-PORTVERSION= 0.3
+PORTNAME= xneur
+PORTVERSION= 0.5.0
CATEGORIES= russian
-MASTER_SITES= http://dists.xneur.ru/release-0.3.0/tgz/ CSME
+MASTER_SITES= http://dists.xneur.ru/release-0.5.0/tgz/ CENKES
MAINTAINER= admin@lissyara.su
COMMENT= Auto keyboard switcher
+LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
USE_XLIB= yes
@@ -20,8 +22,8 @@ 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/"`;#' \
+ @${REINPLACE_CMD} -e '/^am__strip_dir/s#`;#|sed -Ee \
+ "s/^(dict.dist|proto|proto3|langdef|regexp|xneurrc|xneurrc-be|xneurrc-uk|dict)$$$$/\\1.dist/"`;#' \
${WRKSRC}/etc/Makefile.in ${WRKSRC}/etc/*/Makefile.in
post-install:
diff --git a/deskutils/xneur/distinfo b/deskutils/xneur/distinfo
index f820e97a15be..cfa9c298d255 100644
--- a/deskutils/xneur/distinfo
+++ b/deskutils/xneur/distinfo
@@ -1,3 +1,3 @@
-MD5 (XNeur-0.3.tar.bz2) = 3732ef3a8d36064beac250b89a568aad
-SHA256 (XNeur-0.3.tar.bz2) = 6a42c5a8073d72d279756bfc43ec26d574277d4bca61fa0bf7da569a6eaff136
-SIZE (XNeur-0.3.tar.bz2) = 349569
+MD5 (xneur-0.5.0.tar.bz2) = 5aa08a963f6c1edd082f98ce609cb32e
+SHA256 (xneur-0.5.0.tar.bz2) = 8e5e893102f8a3a74ee2979e86309815a253a1bf413f5e69889b596c3f2a3d0b
+SIZE (xneur-0.5.0.tar.bz2) = 381309
diff --git a/deskutils/xneur/pkg-plist b/deskutils/xneur/pkg-plist
index d29214ea85f6..d49c74d08400 100644
--- a/deskutils/xneur/pkg-plist
+++ b/deskutils/xneur/pkg-plist
@@ -2,17 +2,79 @@ 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/en/langdef %D/etc/xneur/en/langdef.dist; then rm -f %D/etc/xneur/en/langdef; fi
+etc/xneur/en/langdef.dist
+@exec if [ ! -f %D/etc/xneur/en/langdef ] ; then cp -p %D/%F %B/langdef; fi
+@unexec if cmp -s %D/etc/xneur/en/proto %D/etc/xneur/en/proto.dist; then rm -f %D/etc/xneur/en/proto; fi
+etc/xneur/en/proto.dist
+@exec if [ ! -f %D/etc/xneur/en/proto ] ; then cp -p %D/%F %B/proto; fi
+@unexec if cmp -s %D/etc/xneur/en/proto3 %D/etc/xneur/en/proto3.dist; then rm -f %D/etc/xneur/en/proto3; fi
+etc/xneur/en/proto3.dist
+@exec if [ ! -f %D/etc/xneur/en/proto3 ] ; then cp -p %D/%F %B/proto3; fi
+@unexec if cmp -s %D/etc/xneur/en/regexp %D/etc/xneur/en/regexp.dist; then rm -f %D/etc/xneur/en/regexp; fi
+etc/xneur/en/regexp.dist
+@exec if [ ! -f %D/etc/xneur/en/regexp ] ; then cp -p %D/%F %B/regexp; fi
@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
+@exec if [ ! -f %D/etc/xneur/ru/dict ] ; then cp -p %D/%F %B/dict; fi
+@unexec if cmp -s %D/etc/xneur/ru/langdef %D/etc/xneur/ru/langdef.dist; then rm -f %D/etc/xneur/ru/langdef; fi
+etc/xneur/ru/langdef.dist
+@exec if [ ! -f %D/etc/xneur/ru/langdef ] ; then cp -p %D/%F %B/langdef; fi
+@unexec if cmp -s %D/etc/xneur/ru/proto %D/etc/xneur/ru/proto.dist; then rm -f %D/etc/xneur/ru/proto; fi
+etc/xneur/ru/proto.dist
+@exec if [ ! -f %D/etc/xneur/ru/proto ] ; then cp -p %D/%F %B/proto; fi
+@unexec if cmp -s %D/etc/xneur/ru/proto3 %D/etc/xneur/ru/proto3.dist; then rm -f %D/etc/xneur/ru/proto3; fi
+etc/xneur/ru/proto3.dist
+@exec if [ ! -f %D/etc/xneur/ru/proto3 ] ; then cp -p %D/%F %B/proto3; fi
+@unexec if cmp -s %D/etc/xneur/ru/regexp %D/etc/xneur/ru/regexp.dist; then rm -f %D/etc/xneur/ru/regexp; fi
+etc/xneur/ru/regexp.dist
+@exec if [ ! -f %D/etc/xneur/ru/regexp ] ; then cp -p %D/%F %B/regexp; fi
+@unexec if cmp -s %D/etc/xneur/uk/dict %D/etc/xneur/uk/dict.dist; then rm -f %D/etc/xneur/uk/dict; fi
+etc/xneur/uk/dict.dist
+@exec if [ ! -f %D/etc/xneur/uk/dict ] ; then cp -p %D/%F %B/dict; fi
+@unexec if cmp -s %D/etc/xneur/uk/langdef %D/etc/xneur/uk/langdef.dist; then rm -f %D/etc/xneur/uk/langdef; fi
+etc/xneur/uk/langdef.dist
+@exec if [ ! -f %D/etc/xneur/uk/langdef ] ; then cp -p %D/%F %B/langdef; fi
+@unexec if cmp -s %D/etc/xneur/uk/proto %D/etc/xneur/uk/proto.dist; then rm -f %D/etc/xneur/uk/proto; fi
+etc/xneur/uk/proto.dist
+@exec if [ ! -f %D/etc/xneur/uk/proto ] ; then cp -p %D/%F %B/proto; fi
+@unexec if cmp -s %D/etc/xneur/uk/proto3 %D/etc/xneur/uk/proto3.dist; then rm -f %D/etc/xneur/uk/proto3; fi
+etc/xneur/uk/proto3.dist
+@exec if [ ! -f %D/etc/xneur/uk/proto3 ] ; then cp -p %D/%F %B/proto3; fi
+@unexec if cmp -s %D/etc/xneur/uk/regexp %D/etc/xneur/uk/regexp.dist; then rm -f %D/etc/xneur/uk/regexp; fi
+etc/xneur/uk/regexp.dist
+@exec if [ ! -f %D/etc/xneur/uk/regexp ] ; then cp -p %D/%F %B/regexp; fi
+@unexec if cmp -s %D/etc/xneur/be/dict %D/etc/xneur/be/dict.dist; then rm -f %D/etc/xneur/be/dict; fi
+etc/xneur/be/dict.dist
+@exec if [ ! -f %D/etc/xneur/be/dict ] ; then cp -p %D/%F %B/dict; fi
+@unexec if cmp -s %D/etc/xneur/be/langdef %D/etc/xneur/be/langdef.dist; then rm -f %D/etc/xneur/be/langdef; fi
+etc/xneur/be/langdef.dist
+@exec if [ ! -f %D/etc/xneur/be/langdef ] ; then cp -p %D/%F %B/langdef; fi
+@unexec if cmp -s %D/etc/xneur/be/proto %D/etc/xneur/be/proto.dist; then rm -f %D/etc/xneur/be/proto; fi
+etc/xneur/be/proto.dist
+@exec if [ ! -f %D/etc/xneur/be/proto ] ; then cp -p %D/%F %B/proto; fi
+@unexec if cmp -s %D/etc/xneur/be/proto3 %D/etc/xneur/be/proto3.dist; then rm -f %D/etc/xneur/be/proto3; fi
+etc/xneur/be/proto3.dist
+@exec if [ ! -f %D/etc/xneur/be/proto3 ] ; then cp -p %D/%F %B/proto3; fi
+@unexec if cmp -s %D/etc/xneur/be/regexp %D/etc/xneur/be/regexp.dist; then rm -f %D/etc/xneur/be/regexp; fi
+etc/xneur/be/regexp.dist
+@exec if [ ! -f %D/etc/xneur/be/regexp ] ; then cp -p %D/%F %B/regexp; fi
@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
+@unexec if cmp -s %D/etc/xneur/xneurrc-be %D/etc/xneur/xneurrc-be.dist; then rm -f %D/etc/xneur/xneurrc-be; fi
+etc/xneur/xneurrc-be.dist
+@exec if [ ! -f %D/etc/xneur/xneurrc-be ] ; then cp -p %D/%F %B/xneurrc-be; fi
+@unexec if cmp -s %D/etc/xneur/xneurrc-uk %D/etc/xneur/xneurrc-uk.dist; then rm -f %D/etc/xneur/xneurrc-uk; fi
+etc/xneur/xneurrc-uk.dist
+@exec if [ ! -f %D/etc/xneur/xneurrc-uk ] ; then cp -p %D/%F %B/xneurrc-uk; fi
+include/xneur/xnconfig.h
lib/libxnconfig.so.3
lib/libxnconfig.so
lib/libxnconfig.la
+@dirrm include/xneur
@dirrmtry etc/xneur/ru
+@dirrmtry etc/xneur/uk
+@dirrmtry etc/xneur/be
@dirrmtry etc/xneur/en
@dirrmtry etc/xneur