summaryrefslogtreecommitdiff
path: root/textproc/aspell-norwegian
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-01-17 03:53:03 +0000
committersalo <salo@pkgsrc.org>2003-01-17 03:53:03 +0000
commitc174b8ce1ed1e3416b0bbc96de652670f0a56f4d (patch)
tree9fbd236f2e9c0241533c9ccfa3d549e92a042a62 /textproc/aspell-norwegian
parent76e0a42a75f368144132c4a2ac681abffe405670 (diff)
downloadpkgsrc-c174b8ce1ed1e3416b0bbc96de652670f0a56f4d.tar.gz
Norwegian language support for aspell, e.g. `aspell -d norwegian -c $myfile'.
Diffstat (limited to 'textproc/aspell-norwegian')
-rw-r--r--textproc/aspell-norwegian/DESCR1
-rw-r--r--textproc/aspell-norwegian/Makefile24
-rw-r--r--textproc/aspell-norwegian/PLIST6
-rw-r--r--textproc/aspell-norwegian/distinfo5
-rw-r--r--textproc/aspell-norwegian/patches/patch-aa21
5 files changed, 57 insertions, 0 deletions
diff --git a/textproc/aspell-norwegian/DESCR b/textproc/aspell-norwegian/DESCR
new file mode 100644
index 00000000000..c5ee1648487
--- /dev/null
+++ b/textproc/aspell-norwegian/DESCR
@@ -0,0 +1 @@
+Norwegian language support for aspell, e.g. `aspell -d norwegian -c $myfile'.
diff --git a/textproc/aspell-norwegian/Makefile b/textproc/aspell-norwegian/Makefile
new file mode 100644
index 00000000000..b73434b26ba
--- /dev/null
+++ b/textproc/aspell-norwegian/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/01/17 03:53:03 salo Exp $
+#
+
+DISTNAME= aspell-no-0.50-2
+PKGNAME= ${DISTNAME:C/no-(.*)-(.*)$/norwegian-\1.\2/}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GNU:=aspell/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://aspell.net/
+COMMENT= Norwegian language support for aspell
+
+USE_BUILDLINK2= YES
+HAS_CONFIGURE= YES
+
+CONFIGURE_ENV+= ASPELL=${PREFIX}/bin/aspell
+CONFIGURE_ENV+= WORD_LIST_COMPRESS=${PREFIX}/bin/word-list-compress
+
+MAKE_ENV+= INSTALL_DATA="${INSTALL_DATA}"
+MAKE_ENV+= INSTALL_DATA_DIR="${INSTALL_DATA_DIR}"
+
+.include "../../textproc/aspell/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/aspell-norwegian/PLIST b/textproc/aspell-norwegian/PLIST
new file mode 100644
index 00000000000..34ba27908f2
--- /dev/null
+++ b/textproc/aspell-norwegian/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/01/17 03:53:03 salo Exp $
+lib/aspell/no.multi
+lib/aspell/no.rws
+lib/aspell/norsk.alias
+lib/aspell/norwegian.alias
+share/aspell/no.dat
diff --git a/textproc/aspell-norwegian/distinfo b/textproc/aspell-norwegian/distinfo
new file mode 100644
index 00000000000..fd47ed9f5b0
--- /dev/null
+++ b/textproc/aspell-norwegian/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/01/17 03:53:03 salo Exp $
+
+SHA1 (aspell-no-0.50-2.tar.bz2) = a52aa76421c2ff04bcbee7189a34ae220aaedda4
+Size (aspell-no-0.50-2.tar.bz2) = 286696 bytes
+SHA1 (patch-aa) = df35f94688de5a020875e2c3d1a6557e92923799
diff --git a/textproc/aspell-norwegian/patches/patch-aa b/textproc/aspell-norwegian/patches/patch-aa
new file mode 100644
index 00000000000..c2394ea2266
--- /dev/null
+++ b/textproc/aspell-norwegian/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/01/17 03:53:03 salo Exp $
+
+--- Makefile.pre.orig Fri Jan 3 18:39:33 2003
++++ Makefile.pre Wed Jan 15 00:48:39 2003
+@@ -16,12 +16,10 @@
+ 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}
++ ${INSTALL_DATA_DIR} ${DESTDIR}${dictdir}/
++ ${INSTALL_DATA} ${rws_files} ${multi_files} ${DESTDIR}${dictdir}/
++ ${INSTALL_DATA_DIR} ${DESTDIR}${datadir}/
++ ${INSTALL_DATA} ${data_files} ${DESTDIR}${datadir}/
+
+ clean:
+ rm -f ${rws_files}