summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-10-19 13:48:24 +0000
committernia <nia@pkgsrc.org>2019-10-19 13:48:24 +0000
commitf1be7b766a4beec4d250625b22a1023f3d934615 (patch)
tree3d3b38a7c0265445d55ae4be5636ef64e0a4776d
parentf5c6cdfdcd42022d64fd7146949608261c9a2722 (diff)
downloadpkgsrc-f1be7b766a4beec4d250625b22a1023f3d934615.tar.gz
Add textproc/aspell-nds.
Low Saxon language support for aspell, e.g. `aspell -d lowsaxon -c $myfile'.
-rw-r--r--textproc/Makefile3
-rw-r--r--textproc/aspell-nds/DESCR1
-rw-r--r--textproc/aspell-nds/Makefile17
-rw-r--r--textproc/aspell-nds/PLIST9
-rw-r--r--textproc/aspell-nds/distinfo7
-rw-r--r--textproc/aspell-nds/patches/patch-Makefile.pre23
6 files changed, 59 insertions, 1 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index f29661310fe..a39c7886282 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1061 2019/10/19 13:43:45 nia Exp $
+# $NetBSD: Makefile,v 1.1062 2019/10/19 13:48:24 nia Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -101,6 +101,7 @@ SUBDIR+= aspell-mr
SUBDIR+= aspell-ms
SUBDIR+= aspell-mt
SUBDIR+= aspell-nb
+SUBDIR+= aspell-nds
SUBDIR+= aspell-nl
SUBDIR+= aspell-nn
SUBDIR+= aspell-ny
diff --git a/textproc/aspell-nds/DESCR b/textproc/aspell-nds/DESCR
new file mode 100644
index 00000000000..720382f48ac
--- /dev/null
+++ b/textproc/aspell-nds/DESCR
@@ -0,0 +1 @@
+Low Saxon language support for aspell, e.g. `aspell -d lowsaxon -c $myfile'.
diff --git a/textproc/aspell-nds/Makefile b/textproc/aspell-nds/Makefile
new file mode 100644
index 00000000000..9b9f83408ff
--- /dev/null
+++ b/textproc/aspell-nds/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2019/10/19 13:48:24 nia Exp $
+
+DISTNAME= aspell6-nds-0.01-0
+PKGNAME= ${DISTNAME:S/^aspell6/aspell/1:S/-0$/.0/1}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GNU:=aspell/dict/nds/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://aspell.net/
+COMMENT= Low Saxon language support for aspell
+LICENSE= gnu-gpl-v2
+
+HAS_CONFIGURE= yes
+
+.include "../../textproc/aspell/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/aspell-nds/PLIST b/textproc/aspell-nds/PLIST
new file mode 100644
index 00000000000..fa94095ed3d
--- /dev/null
+++ b/textproc/aspell-nds/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2019/10/19 13:48:24 nia Exp $
+lib/aspell/lowsaxon.alias
+lib/aspell/nds.multi
+lib/aspell/nds.rws
+share/aspell/iso-8859-15.cmap
+share/aspell/iso-8859-15.cset
+share/aspell/nds.dat
+share/aspell/nds_affix.dat
+share/aspell/nds_phonet.dat
diff --git a/textproc/aspell-nds/distinfo b/textproc/aspell-nds/distinfo
new file mode 100644
index 00000000000..95ae605beab
--- /dev/null
+++ b/textproc/aspell-nds/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/10/19 13:48:24 nia Exp $
+
+SHA1 (aspell6-nds-0.01-0.tar.bz2) = b5cc46fac7a5436f9f52395c975ec66935b3ed54
+RMD160 (aspell6-nds-0.01-0.tar.bz2) = cf2cbdbf088093bd4ab135a7d1d72b82af6aced8
+SHA512 (aspell6-nds-0.01-0.tar.bz2) = 88ef6f6773e8699a5200ff8ae3ef9935fee21958fa35868bc10d37c22b55ea721ad9c59ab4843fdc6fedbf5a9ed10c7ea144548713742b8094b99c3c46a552a5
+Size (aspell6-nds-0.01-0.tar.bz2) = 32658 bytes
+SHA1 (patch-Makefile.pre) = e4393f0b196fc023b7cb87a125abcd64260fe081
diff --git a/textproc/aspell-nds/patches/patch-Makefile.pre b/textproc/aspell-nds/patches/patch-Makefile.pre
new file mode 100644
index 00000000000..857f3f2f1f9
--- /dev/null
+++ b/textproc/aspell-nds/patches/patch-Makefile.pre
@@ -0,0 +1,23 @@
+$NetBSD: patch-Makefile.pre,v 1.1 2019/10/19 13:48:24 nia Exp $
+
+Use BSD_INSTALL_*.
+
+--- Makefile.pre.orig 2007-01-08 11:14:12.000000000 +0000
++++ Makefile.pre
+@@ -15,12 +15,10 @@ distdir=aspell6-${lang}-${version}
+ 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}
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${dictdir}/
++ ${BSD_INSTALL_DATA} ${rws_files} ${multi_files} ${DESTDIR}${dictdir}/
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${datadir}/
++ ${BSD_INSTALL_DATA} ${data_files} ${DESTDIR}${datadir}/
+
+ clean:
+ rm -f ${rws_files}