summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/aspell-spanish/DESCR1
-rw-r--r--textproc/aspell-spanish/Makefile24
-rw-r--r--textproc/aspell-spanish/PLIST7
-rw-r--r--textproc/aspell-spanish/distinfo5
-rw-r--r--textproc/aspell-spanish/patches/patch-aa21
5 files changed, 58 insertions, 0 deletions
diff --git a/textproc/aspell-spanish/DESCR b/textproc/aspell-spanish/DESCR
new file mode 100644
index 00000000000..d055426ae7c
--- /dev/null
+++ b/textproc/aspell-spanish/DESCR
@@ -0,0 +1 @@
+Spanish language support for aspell, e.g. `aspell -d spanish -c $myfile'.
diff --git a/textproc/aspell-spanish/Makefile b/textproc/aspell-spanish/Makefile
new file mode 100644
index 00000000000..7df1b75c9c5
--- /dev/null
+++ b/textproc/aspell-spanish/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/01/17 03:55:51 salo Exp $
+#
+
+DISTNAME= aspell-es-0.50-2
+PKGNAME= ${DISTNAME:C/es-(.*)-(.*)$/spanish-\1.\2/}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GNU:=aspell/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://aspell.net/
+COMMENT= Spanish 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-spanish/PLIST b/textproc/aspell-spanish/PLIST
new file mode 100644
index 00000000000..20289df2c6d
--- /dev/null
+++ b/textproc/aspell-spanish/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/01/17 03:55:52 salo Exp $
+lib/aspell/es.multi
+lib/aspell/es.rws
+lib/aspell/espaņol.alias
+lib/aspell/esponol.alias
+lib/aspell/spanish.alias
+share/aspell/es.dat
diff --git a/textproc/aspell-spanish/distinfo b/textproc/aspell-spanish/distinfo
new file mode 100644
index 00000000000..f94ed693b8d
--- /dev/null
+++ b/textproc/aspell-spanish/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/01/17 03:55:52 salo Exp $
+
+SHA1 (aspell-es-0.50-2.tar.bz2) = 46f301460588dc59a51df2c2f39377ef3977bd03
+Size (aspell-es-0.50-2.tar.bz2) = 157809 bytes
+SHA1 (patch-aa) = df35f94688de5a020875e2c3d1a6557e92923799
diff --git a/textproc/aspell-spanish/patches/patch-aa b/textproc/aspell-spanish/patches/patch-aa
new file mode 100644
index 00000000000..50b9f769bf3
--- /dev/null
+++ b/textproc/aspell-spanish/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/01/17 03:55:52 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}