summaryrefslogtreecommitdiff
path: root/textproc/aspell-fo
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/aspell-fo')
-rw-r--r--textproc/aspell-fo/DESCR1
-rw-r--r--textproc/aspell-fo/Makefile23
-rw-r--r--textproc/aspell-fo/PLIST10
-rw-r--r--textproc/aspell-fo/distinfo6
-rw-r--r--textproc/aspell-fo/patches/patch-aa25
5 files changed, 65 insertions, 0 deletions
diff --git a/textproc/aspell-fo/DESCR b/textproc/aspell-fo/DESCR
new file mode 100644
index 00000000000..d0da2725e7c
--- /dev/null
+++ b/textproc/aspell-fo/DESCR
@@ -0,0 +1 @@
+Faroese language support for aspell, e.g. `aspell -d faroese -c $myfile'.
diff --git a/textproc/aspell-fo/Makefile b/textproc/aspell-fo/Makefile
new file mode 100644
index 00000000000..cc9a3599258
--- /dev/null
+++ b/textproc/aspell-fo/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2013/04/09 02:33:42 rodent Exp $
+
+DISTNAME= aspell-fo-0.2.38
+CATEGORIES= textproc
+MASTER_SITES= http://fo.speling.org/filer/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://fo.speling.org/
+COMMENT= Faroese language support for aspell
+
+USE_TOOLS+= perl
+REPLACE_PERL= unsq
+
+INSTALLATION_DIRS+= lib/aspell share/aspell
+
+.include "../../mk/bsd.prefs.mk"
+.if ${PKG_FORMAT} == "pkg" && ${OPSYS} == "Linux"
+BROKEN= Can not be packaged on Linux
+.endif
+
+.include "../../textproc/aspell/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/aspell-fo/PLIST b/textproc/aspell-fo/PLIST
new file mode 100644
index 00000000000..1d8ed6635a2
--- /dev/null
+++ b/textproc/aspell-fo/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2013/04/09 02:33:42 rodent Exp $
+lib/aspell/faroese
+lib/aspell/fo_FO
+lib/aspell/føroyskt
+share/aspell/faroese.dat
+share/aspell/faroese_phonet.dat
+share/aspell/fo_FO.dat
+share/aspell/fo_FO_phonet.dat
+share/aspell/føroyskt.dat
+share/aspell/føroyskt_phonet.dat
diff --git a/textproc/aspell-fo/distinfo b/textproc/aspell-fo/distinfo
new file mode 100644
index 00000000000..4bcfe1289a0
--- /dev/null
+++ b/textproc/aspell-fo/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/04/09 02:33:42 rodent Exp $
+
+SHA1 (aspell-fo-0.2.38.tar.bz2) = 3191d86991d1281e322d2576325dd5c6f97408ea
+RMD160 (aspell-fo-0.2.38.tar.bz2) = f9816f44f645c9902dfe2a0761284e40fabcddfe
+Size (aspell-fo-0.2.38.tar.bz2) = 183984 bytes
+SHA1 (patch-aa) = 78dcf76df264c55bda6bee7411a3c847bd8b4f7f
diff --git a/textproc/aspell-fo/patches/patch-aa b/textproc/aspell-fo/patches/patch-aa
new file mode 100644
index 00000000000..2b1ef74d8fa
--- /dev/null
+++ b/textproc/aspell-fo/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1 2013/04/09 02:33:42 rodent Exp $
+
+--- Makefile.orig 2009-11-04 12:38:50.000000000 -0800
++++ Makefile 2009-12-02 09:53:27.000000000 -0800
+@@ -9,16 +9,14 @@ landekode=FO
+ lang = fo
+ version = 0.2.38
+
+-dictdir=`aspell dump config | grep '^\# dict-dir current: ' | cut -d' ' -f4`
+-datadir=`aspell dump config | grep '^\# data-dir current: ' | cut -d' ' -f4`
++dictdir=${DESTDIR}`aspell config dict-dir`
++datadir=${DESTDIR}`aspell config data-dir`
+
+ all: $(sprog) $(sprog).dat $(sprog)_phonet.dat
+
+ install: $(sprog).dat $(sprog)_phonet.dat $(sprog)
+- chown root.root $(sprog).dat $(sprog)_phonet.dat $(sprog)
+- chmod 0644 $(sprog).dat $(sprog)_phonet.dat $(sprog)
+- mv $(sprog).dat $(sprog)_phonet.dat $(datadir)
+- mv $(sprog) $(dictdir)
++ ${BSD_INSTALL_DATA} $(sprog).dat $(sprog)_phonet.dat $(datadir)
++ ${BSD_INSTALL_DATA} $(sprog) $(dictdir)
+ ln -fs $(datadir)/$(sprog).dat $(datadir)/$(sprogkode)_$(landekode).dat || true
+ ln -fs $(datadir)/$(sprog)_phonet.dat $(datadir)/$(sprogkode)_$(landekode)_phonet.dat || true
+ ln -fs $(dictdir)/$(sprog) $(dictdir)/$(sprogkode)_$(landekode) || true