summaryrefslogtreecommitdiff
path: root/textproc/aspell-da
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2013-04-09 02:33:36 +0000
committerrodent <rodent@pkgsrc.org>2013-04-09 02:33:36 +0000
commit5a65cc333f2c54f752e138ab6dda7ecd7c51a19d (patch)
tree212dfe5db624559179d35275be8e0b146bd1bd95 /textproc/aspell-da
parent9cd16a36e65f1cf26f86fc34a611f483c0e3b36c (diff)
downloadpkgsrc-5a65cc333f2c54f752e138ab6dda7ecd7c51a19d.tar.gz
Moved aspell-* packages as discussed. Reasons being:
1) Shorter package name; 2) Be consistent with kde3-i18n-*, kde4-l10n-*, hunspell-*, lang-* PKG_OPTIONS; 3) Simplify modifications to PKGNAME in their Makefiles; 4) Accordance with international language naming standards; 5) Facilitate the addition of other dictionaries which are variants of the same language (ex. Portuguese and Norwegian); May this commit not cause anything to explode, hairs to gray, nerds to rage
Diffstat (limited to 'textproc/aspell-da')
-rw-r--r--textproc/aspell-da/DESCR1
-rw-r--r--textproc/aspell-da/Makefile18
-rw-r--r--textproc/aspell-da/PLIST10
-rw-r--r--textproc/aspell-da/distinfo6
-rw-r--r--textproc/aspell-da/patches/patch-aa25
5 files changed, 60 insertions, 0 deletions
diff --git a/textproc/aspell-da/DESCR b/textproc/aspell-da/DESCR
new file mode 100644
index 00000000000..7828300e10a
--- /dev/null
+++ b/textproc/aspell-da/DESCR
@@ -0,0 +1 @@
+Danish language support for aspell, e.g. `aspell -d danish -c $myfile'.
diff --git a/textproc/aspell-da/Makefile b/textproc/aspell-da/Makefile
new file mode 100644
index 00000000000..94da9b005c1
--- /dev/null
+++ b/textproc/aspell-da/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2013/04/09 02:33:38 rodent Exp $
+
+DISTNAME= aspell-da-1.7.30
+CATEGORIES= textproc
+MASTER_SITES= http://da.speling.org/filer/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://da.speling.org/
+COMMENT= Danish language support for aspell
+
+USE_TOOLS+= perl
+REPLACE_PERL= unsq
+
+INSTALLATION_DIRS+= lib/aspell share/aspell
+
+.include "../../textproc/aspell/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/aspell-da/PLIST b/textproc/aspell-da/PLIST
new file mode 100644
index 00000000000..acf08f0925e
--- /dev/null
+++ b/textproc/aspell-da/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2013/04/09 02:33:38 rodent Exp $
+lib/aspell/da_DK
+lib/aspell/danish
+lib/aspell/dansk
+share/aspell/da_DK.dat
+share/aspell/da_DK_phonet.dat
+share/aspell/danish.dat
+share/aspell/danish_phonet.dat
+share/aspell/dansk.dat
+share/aspell/dansk_phonet.dat
diff --git a/textproc/aspell-da/distinfo b/textproc/aspell-da/distinfo
new file mode 100644
index 00000000000..9c6c30ee99b
--- /dev/null
+++ b/textproc/aspell-da/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/04/09 02:33:38 rodent Exp $
+
+SHA1 (aspell-da-1.7.30.tar.bz2) = 7b629f8a87840571ef29bbf312210f8a0e6bcbe2
+RMD160 (aspell-da-1.7.30.tar.bz2) = 278335a74a65d0b18d4e7e57400f4afa7552257c
+Size (aspell-da-1.7.30.tar.bz2) = 229478 bytes
+SHA1 (patch-aa) = 93f01850310b6b39ca31b607bcd2525125277eb7
diff --git a/textproc/aspell-da/patches/patch-aa b/textproc/aspell-da/patches/patch-aa
new file mode 100644
index 00000000000..1b67c07c142
--- /dev/null
+++ b/textproc/aspell-da/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1 2013/04/09 02:33:38 rodent Exp $
+
+--- Makefile.orig 2009-11-04 13:52:19.000000000 -0800
++++ Makefile 2009-12-02 09:45:44.000000000 -0800
+@@ -9,16 +9,14 @@ country_code=DK
+ lang=da
+ version=1.7.30
+
+-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)/$(language_code)_$(country_code).dat || true
+ ln -fs $(datadir)/$(sprog)_phonet.dat $(datadir)/$(language_code)_$(country_code)_phonet.dat || true
+ ln -fs $(dictdir)/$(sprog) $(dictdir)/$(language_code)_$(country_code) || true