summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorsalo <salo>2003-01-17 03:55:23 +0000
committersalo <salo>2003-01-17 03:55:23 +0000
commit04ed2e2a1c03ed141c6edf2c80dfd3d0dd559f24 (patch)
treebf9c74ce9228ac465f2c35a567ab16f3f9e9c821 /textproc
parentb9f9d5af8b180f5a71980e01d2e76183660f2875 (diff)
downloadpkgsrc-04ed2e2a1c03ed141c6edf2c80dfd3d0dd559f24.tar.gz
Russian language support for aspell, e.g. `aspell -d russian -c $myfile'.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/aspell-russian/DESCR1
-rw-r--r--textproc/aspell-russian/Makefile24
-rw-r--r--textproc/aspell-russian/PLIST6
-rw-r--r--textproc/aspell-russian/distinfo5
-rw-r--r--textproc/aspell-russian/patches/patch-aa21
5 files changed, 57 insertions, 0 deletions
diff --git a/textproc/aspell-russian/DESCR b/textproc/aspell-russian/DESCR
new file mode 100644
index 00000000000..9939611c097
--- /dev/null
+++ b/textproc/aspell-russian/DESCR
@@ -0,0 +1 @@
+Russian language support for aspell, e.g. `aspell -d russian -c $myfile'.
diff --git a/textproc/aspell-russian/Makefile b/textproc/aspell-russian/Makefile
new file mode 100644
index 00000000000..abf5a81fb1c
--- /dev/null
+++ b/textproc/aspell-russian/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/01/17 03:55:23 salo Exp $
+#
+
+DISTNAME= aspell-ru-0.50-2
+PKGNAME= ${DISTNAME:C/ru-(.*)-(.*)$/russian-\1.\2/}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GNU:=aspell/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://aspell.net/
+COMMENT= Russian language support for aspell
+
+USE_BUILDLINK2= YES
+HAS_CONFIGURE= YES
+
+CONFIGURE_ENV+= ASPELL=${PREFIX}/bin/aspell
+CONFIGURE_ENV+= WORD_LIST_COMPRESS=${PREFIX}/bin/word-list-compress
+
+MAKE_ENV+= INSTALL_DATA="${INSTALL_DATA}"
+MAKE_ENV+= INSTALL_DATA_DIR="${INSTALL_DATA_DIR}"
+
+.include "../../textproc/aspell/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/aspell-russian/PLIST b/textproc/aspell-russian/PLIST
new file mode 100644
index 00000000000..f3e0b543251
--- /dev/null
+++ b/textproc/aspell-russian/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/01/17 03:55:23 salo Exp $
+lib/aspell/ru.multi
+lib/aspell/ru.rws
+lib/aspell/russian.alias
+share/aspell/ru.dat
+share/aspell/ru_phonet.dat
diff --git a/textproc/aspell-russian/distinfo b/textproc/aspell-russian/distinfo
new file mode 100644
index 00000000000..db7b4418abb
--- /dev/null
+++ b/textproc/aspell-russian/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/01/17 03:55:23 salo Exp $
+
+SHA1 (aspell-ru-0.50-2.tar.bz2) = 4269a62b5d76e3d998e47ec446a230f343e214f3
+Size (aspell-ru-0.50-2.tar.bz2) = 521827 bytes
+SHA1 (patch-aa) = df35f94688de5a020875e2c3d1a6557e92923799
diff --git a/textproc/aspell-russian/patches/patch-aa b/textproc/aspell-russian/patches/patch-aa
new file mode 100644
index 00000000000..0e667619ee0
--- /dev/null
+++ b/textproc/aspell-russian/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/01/17 03:55:23 salo Exp $
+
+--- Makefile.pre.orig Fri Jan 3 18:39:33 2003
++++ Makefile.pre Wed Jan 15 00:48:39 2003
+@@ -16,12 +16,10 @@
+ all: ${rws_files} ${data_files}
+
+ install: all
+- mkdir -p ${DESTDIR}${dictdir}/
+- cp ${rws_files} ${multi_files} ${DESTDIR}${dictdir}/
+- cd ${DESTDIR}${dictdir}/ && chmod 644 ${rws_files} ${multi_files}
+- mkdir -p ${DESTDIR}${datadir}/
+- cp ${data_files} ${DESTDIR}${datadir}/
+- cd ${DESTDIR}${datadir}/ && chmod 644 ${data_files}
++ ${INSTALL_DATA_DIR} ${DESTDIR}${dictdir}/
++ ${INSTALL_DATA} ${rws_files} ${multi_files} ${DESTDIR}${dictdir}/
++ ${INSTALL_DATA_DIR} ${DESTDIR}${datadir}/
++ ${INSTALL_DATA} ${data_files} ${DESTDIR}${datadir}/
+
+ clean:
+ rm -f ${rws_files}