summaryrefslogtreecommitdiff
path: root/textproc/aspell-nds/patches
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 /textproc/aspell-nds/patches
parentf5c6cdfdcd42022d64fd7146949608261c9a2722 (diff)
downloadpkgsrc-f1be7b766a4beec4d250625b22a1023f3d934615.tar.gz
Add textproc/aspell-nds.
Low Saxon language support for aspell, e.g. `aspell -d lowsaxon -c $myfile'.
Diffstat (limited to 'textproc/aspell-nds/patches')
-rw-r--r--textproc/aspell-nds/patches/patch-Makefile.pre23
1 files changed, 23 insertions, 0 deletions
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}