summaryrefslogtreecommitdiff
path: root/textproc/aspell-portuguese
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-01-17 03:54:17 +0000
committersalo <salo@pkgsrc.org>2003-01-17 03:54:17 +0000
commit681201e26eba56f067adbf66011a9b95692af569 (patch)
tree5152475c2d5a26bf48fc21e26991539ca8c72d28 /textproc/aspell-portuguese
parent0880888fa7988a030a01d03c1b25d17be81ca58c (diff)
downloadpkgsrc-681201e26eba56f067adbf66011a9b95692af569.tar.gz
Portuguese language support for aspell, e.g. `aspell -d portuguese -c $myfile'
Other sub-dictionary available in this package: brazilian.
Diffstat (limited to 'textproc/aspell-portuguese')
-rw-r--r--textproc/aspell-portuguese/DESCR3
-rw-r--r--textproc/aspell-portuguese/Makefile24
-rw-r--r--textproc/aspell-portuguese/PLIST11
-rw-r--r--textproc/aspell-portuguese/distinfo5
-rw-r--r--textproc/aspell-portuguese/patches/patch-aa21
5 files changed, 64 insertions, 0 deletions
diff --git a/textproc/aspell-portuguese/DESCR b/textproc/aspell-portuguese/DESCR
new file mode 100644
index 00000000000..deaa192ac60
--- /dev/null
+++ b/textproc/aspell-portuguese/DESCR
@@ -0,0 +1,3 @@
+Portuguese language support for aspell,
+e.g. `aspell -d portuguese -c $myfile'.
+Other sub-dictionary available in this package: brazilian.
diff --git a/textproc/aspell-portuguese/Makefile b/textproc/aspell-portuguese/Makefile
new file mode 100644
index 00000000000..2788df1fb6f
--- /dev/null
+++ b/textproc/aspell-portuguese/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/01/17 03:54:17 salo Exp $
+#
+
+DISTNAME= aspell-pt-0.50-2
+PKGNAME= ${DISTNAME:C/pt-(.*)-(.*)$/portuguese-\1.\2/}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GNU:=aspell/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://aspell.net/
+COMMENT= Portuguese 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-portuguese/PLIST b/textproc/aspell-portuguese/PLIST
new file mode 100644
index 00000000000..0bf613b5459
--- /dev/null
+++ b/textproc/aspell-portuguese/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/01/17 03:54:17 salo Exp $
+lib/aspell/brazilian.alias
+lib/aspell/portuguese.alias
+lib/aspell/português.alias
+lib/aspell/pt-only.rws
+lib/aspell/pt.multi
+lib/aspell/pt_BR-only.rws
+lib/aspell/pt_BR.multi
+lib/aspell/pt_PT-only.rws
+lib/aspell/pt_PT.multi
+share/aspell/pt.dat
diff --git a/textproc/aspell-portuguese/distinfo b/textproc/aspell-portuguese/distinfo
new file mode 100644
index 00000000000..4dbfc075952
--- /dev/null
+++ b/textproc/aspell-portuguese/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/01/17 03:54:17 salo Exp $
+
+SHA1 (aspell-pt-0.50-2.tar.bz2) = deea92b701d084a00428b70e86cce149c95aea1c
+Size (aspell-pt-0.50-2.tar.bz2) = 201341 bytes
+SHA1 (patch-aa) = df35f94688de5a020875e2c3d1a6557e92923799
diff --git a/textproc/aspell-portuguese/patches/patch-aa b/textproc/aspell-portuguese/patches/patch-aa
new file mode 100644
index 00000000000..4f04277e43d
--- /dev/null
+++ b/textproc/aspell-portuguese/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/01/17 03:54:17 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}