summaryrefslogtreecommitdiff
path: root/textproc/aspell-en
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
commitee3b5b270cc47eedaf3de3fc24245a4948cd2042 (patch)
tree212dfe5db624559179d35275be8e0b146bd1bd95 /textproc/aspell-en
parent632ca0791a26581b386194ea4b085daf87f4fa2e (diff)
downloadpkgsrc-ee3b5b270cc47eedaf3de3fc24245a4948cd2042.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-en')
-rw-r--r--textproc/aspell-en/DESCR2
-rw-r--r--textproc/aspell-en/Makefile19
-rw-r--r--textproc/aspell-en/PLIST58
-rw-r--r--textproc/aspell-en/distinfo7
-rw-r--r--textproc/aspell-en/patches/patch-aa21
-rw-r--r--textproc/aspell-en/patches/patch-ab16
6 files changed, 123 insertions, 0 deletions
diff --git a/textproc/aspell-en/DESCR b/textproc/aspell-en/DESCR
new file mode 100644
index 00000000000..b763df7da1d
--- /dev/null
+++ b/textproc/aspell-en/DESCR
@@ -0,0 +1,2 @@
+English language support for aspell, e.g., `aspell -d english -c $myfile'.
+Other sub-dictionaries available in this package: british, american, canadian.
diff --git a/textproc/aspell-en/Makefile b/textproc/aspell-en/Makefile
new file mode 100644
index 00000000000..ed0e612d6bf
--- /dev/null
+++ b/textproc/aspell-en/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2013/04/09 02:33:40 rodent Exp $
+#
+
+DISTNAME= aspell6-en-6.0-0
+PKGNAME= ${DISTNAME:S/6-/-/1:S/-0/.0/1}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GNU:=aspell/dict/en/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://aspell.net/
+COMMENT= English language support for aspell
+
+HAS_CONFIGURE= yes
+CONFIGURE_ENV+= ASPELL=${BUILDLINK_PREFIX.aspell}/bin/aspell
+CONFIGURE_ENV+= PREZIP=${BUILDLINK_PREFIX.aspell}/bin/prezip-bin
+
+.include "../../textproc/aspell/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/aspell-en/PLIST b/textproc/aspell-en/PLIST
new file mode 100644
index 00000000000..3de3798a7a8
--- /dev/null
+++ b/textproc/aspell-en/PLIST
@@ -0,0 +1,58 @@
+@comment $NetBSD: PLIST,v 1.1 2013/04/09 02:33:40 rodent Exp $
+lib/aspell/american-w_accents.alias
+lib/aspell/american-wo_accents.alias
+lib/aspell/american.alias
+lib/aspell/british-ise-w_accents.alias
+lib/aspell/british-ise-wo_accents.alias
+lib/aspell/british-ise.alias
+lib/aspell/british-ize-w_accents.alias
+lib/aspell/british-ize-wo_accents.alias
+lib/aspell/british-ize.alias
+lib/aspell/british-w_accents.alias
+lib/aspell/british-wo_accents.alias
+lib/aspell/british.alias
+lib/aspell/canadian-w_accents.alias
+lib/aspell/canadian-wo_accents.alias
+lib/aspell/canadian.alias
+lib/aspell/en-common.rws
+lib/aspell/en-variant_0.multi
+lib/aspell/en-variant_0.rws
+lib/aspell/en-variant_1.multi
+lib/aspell/en-variant_1.rws
+lib/aspell/en-variant_2.multi
+lib/aspell/en-variant_2.rws
+lib/aspell/en-w_accents.multi
+lib/aspell/en-wo_accents.multi
+lib/aspell/en.multi
+lib/aspell/en_CA-w_accents-only.rws
+lib/aspell/en_CA-w_accents.multi
+lib/aspell/en_CA-wo_accents-only.rws
+lib/aspell/en_CA-wo_accents.multi
+lib/aspell/en_CA.multi
+lib/aspell/en_GB-ise-w_accents-only.rws
+lib/aspell/en_GB-ise-w_accents.multi
+lib/aspell/en_GB-ise-wo_accents-only.rws
+lib/aspell/en_GB-ise-wo_accents.multi
+lib/aspell/en_GB-ise.multi
+lib/aspell/en_GB-ize-w_accents-only.rws
+lib/aspell/en_GB-ize-w_accents.multi
+lib/aspell/en_GB-ize-wo_accents-only.rws
+lib/aspell/en_GB-ize-wo_accents.multi
+lib/aspell/en_GB-ize.multi
+lib/aspell/en_GB-w_accents.multi
+lib/aspell/en_GB-wo_accents.multi
+lib/aspell/en_GB.multi
+lib/aspell/en_US-w_accents-only.rws
+lib/aspell/en_US-w_accents.multi
+lib/aspell/en_US-wo_accents-only.rws
+lib/aspell/en_US-wo_accents.multi
+lib/aspell/en_US.multi
+lib/aspell/english-variant_0.alias
+lib/aspell/english-variant_1.alias
+lib/aspell/english-variant_2.alias
+lib/aspell/english-w_accents.alias
+lib/aspell/english-wo_accents.alias
+lib/aspell/english.alias
+share/aspell/en.dat
+share/aspell/en_affix.dat
+share/aspell/en_phonet.dat
diff --git a/textproc/aspell-en/distinfo b/textproc/aspell-en/distinfo
new file mode 100644
index 00000000000..c3f693c5733
--- /dev/null
+++ b/textproc/aspell-en/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2013/04/09 02:33:40 rodent Exp $
+
+SHA1 (aspell6-en-6.0-0.tar.bz2) = 9723820a22340bcc3a12aae45df26d9ff0608829
+RMD160 (aspell6-en-6.0-0.tar.bz2) = 54eafdae618b241ca8fcc76898ddfcb3d04ee5b2
+Size (aspell6-en-6.0-0.tar.bz2) = 182442 bytes
+SHA1 (patch-aa) = e22211d1b77a79d16e2334630dc171245bb15677
+SHA1 (patch-ab) = 95767f553e37e39183ea5d26dc7ebfb488752cf5
diff --git a/textproc/aspell-en/patches/patch-aa b/textproc/aspell-en/patches/patch-aa
new file mode 100644
index 00000000000..751d605d3b2
--- /dev/null
+++ b/textproc/aspell-en/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2013/04/09 02:33:40 rodent 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}
++ ${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}
diff --git a/textproc/aspell-en/patches/patch-ab b/textproc/aspell-en/patches/patch-ab
new file mode 100644
index 00000000000..d65a1a535d4
--- /dev/null
+++ b/textproc/aspell-en/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2013/04/09 02:33:40 rodent Exp $
+
+--- configure.orig 2004-08-10 09:01:33.000000000 +0000
++++ configure 2005-08-23 21:25:25.184621000 +0000
+@@ -79,9 +79,9 @@
+ datadir=`$ASPELL dump config data-dir`
+ echo $datadir
+
+-echo "ASPELL = `which $ASPELL`" > Makefile
++echo "ASPELL = $ASPELL" > Makefile
+ echo "ASPELL_FLAGS = $ASPELL_FLAGS" >> Makefile
+-echo "PREZIP = `which $PREZIP`" >> Makefile
++echo "PREZIP = $PREZIP" >> Makefile
+ echo "DESTDIR = $DESTDIR" >> Makefile
+ echo "dictdir = $dictdir" >> Makefile
+ echo "datadir = $datadir" >> Makefile