summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/ispell-ku/DESCR4
-rw-r--r--textproc/ispell-ku/Makefile25
-rw-r--r--textproc/ispell-ku/PLIST3
-rw-r--r--textproc/ispell-ku/distinfo6
-rw-r--r--textproc/ispell-ku/patches/patch-Makefile21
5 files changed, 59 insertions, 0 deletions
diff --git a/textproc/ispell-ku/DESCR b/textproc/ispell-ku/DESCR
new file mode 100644
index 00000000000..a30020dde26
--- /dev/null
+++ b/textproc/ispell-ku/DESCR
@@ -0,0 +1,4 @@
+Ispell dictionary for Kurdish.
+
+The original word list used for this package was augmented using Scannell's web
+crawling software and then hand-checked.
diff --git a/textproc/ispell-ku/Makefile b/textproc/ispell-ku/Makefile
new file mode 100644
index 00000000000..3ba82fd0f04
--- /dev/null
+++ b/textproc/ispell-ku/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2013/04/24 03:32:37 rodent Exp $
+#
+
+DISTNAME= ispell-ku-0.20
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=myspellkurdish/}
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://myspellkurdish.sourceforge.net/
+COMMENT= Kurdish dictionary for interactive spelling checker
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= # none
+
+INSTALLATION_DIRS+= lib
+
+SUBST_CLASSES+= paths
+SUBST_FILES.paths= Makefile
+SUBST_MESSAGE.paths= Fixing paths.
+SUBST_SED.paths= -e "s|/usr/local|${PREFIX}|1"
+SUBST_SED.paths+= -e "s|/ispell||1"
+SUBST_STAGE.paths= pre-configure
+
+DEPENDS+= ispell-[0-9]*:../../textproc/ispell
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ispell-ku/PLIST b/textproc/ispell-ku/PLIST
new file mode 100644
index 00000000000..5085643a22a
--- /dev/null
+++ b/textproc/ispell-ku/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2013/04/24 03:32:37 rodent Exp $
+lib/ku.aff
+lib/ku.hash
diff --git a/textproc/ispell-ku/distinfo b/textproc/ispell-ku/distinfo
new file mode 100644
index 00000000000..a8511a3fb55
--- /dev/null
+++ b/textproc/ispell-ku/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/04/24 03:32:37 rodent Exp $
+
+SHA1 (ispell-ku-0.20.tar.gz) = bf6b7ba306365b0c65d1e4e258e75cfc7116749a
+RMD160 (ispell-ku-0.20.tar.gz) = 7ceb7b0992b89b5fdfed6e0ba547fe6320a239de
+Size (ispell-ku-0.20.tar.gz) = 46143 bytes
+SHA1 (patch-Makefile) = 7b70e97cb743620fb476b63a86771122e0c3ccb5
diff --git a/textproc/ispell-ku/patches/patch-Makefile b/textproc/ispell-ku/patches/patch-Makefile
new file mode 100644
index 00000000000..dd17c83900b
--- /dev/null
+++ b/textproc/ispell-ku/patches/patch-Makefile
@@ -0,0 +1,21 @@
+$NetBSD: patch-Makefile,v 1.1 2013/04/24 03:32:38 rodent Exp $
+
+Install/uninstall to DESTDIR.
+
+--- Makefile.orig 2005-03-12 16:12:27.000000000 +0000
++++ Makefile
+@@ -16,11 +16,11 @@ $(INSTALLATION).hash: $(RAWWORDS) $(AFFI
+ $(ISPELLBIN)/buildhash $(RAWWORDS) $(AFFIXFILE) $(INSTALLATION).hash
+
+ install: $(INSTALLATION).hash $(AFFIXFILE)
+- $(INSTALL_DATA) $(INSTALLATION).hash $(ISPELLDIR)
+- $(INSTALL_DATA) $(AFFIXFILE) $(ISPELLDIR)
++ $(INSTALL_DATA) $(INSTALLATION).hash ${DESTDIR}$(ISPELLDIR)
++ $(INSTALL_DATA) $(AFFIXFILE) ${DESTDIR}$(ISPELLDIR)
+
+ uninstall:
+- rm -f $(ISPELLDIR)/$(INSTALLATION).hash $(ISPELLDIR)/$(AFFIXFILE)
++ rm -f $(ISPELLDIR)/$(INSTALLATION).hash ${DESTDIR}$(ISPELLDIR)/$(AFFIXFILE)
+
+ clean:
+ rm -f *.cnt *.stat *.bak *.tar *.tar.gz