summaryrefslogtreecommitdiff
path: root/textproc/ispell-pt_BR
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2013-04-27 10:43:31 +0000
committerrodent <rodent@pkgsrc.org>2013-04-27 10:43:31 +0000
commit3b1d937571d4b745c37a0347b22d7222ab5361d6 (patch)
tree34919446bcdb4cb10f5c481a94f18101b01a615c /textproc/ispell-pt_BR
parent62e2e2d419f0cefb3924eca52cf017db70c732a8 (diff)
downloadpkgsrc-3b1d937571d4b745c37a0347b22d7222ab5361d6.tar.gz
Import ispell-br-2.4 as textproc/ispell-pt_BR.
This the br.ispell dictionary for Brazilian Portuguese. It's freely available under the terms of the GNU GPL. You can freely redistribute and/or use it for spell checking through ispell. The main page (in Portuguese) for this dictionary is http://www.ime.usp.br/~ueda/br.ispell.
Diffstat (limited to 'textproc/ispell-pt_BR')
-rw-r--r--textproc/ispell-pt_BR/DESCR4
-rw-r--r--textproc/ispell-pt_BR/Makefile26
-rw-r--r--textproc/ispell-pt_BR/PLIST6
-rw-r--r--textproc/ispell-pt_BR/distinfo6
-rw-r--r--textproc/ispell-pt_BR/patches/patch-Makefile34
5 files changed, 76 insertions, 0 deletions
diff --git a/textproc/ispell-pt_BR/DESCR b/textproc/ispell-pt_BR/DESCR
new file mode 100644
index 00000000000..adcfa4c82fd
--- /dev/null
+++ b/textproc/ispell-pt_BR/DESCR
@@ -0,0 +1,4 @@
+This the br.ispell dictionary for Brazilian Portuguese. It's freely available
+under the terms of the GNU GPL. You can freely redistribute and/or use it for
+spell checking through ispell. The main page (in Portuguese) for this dictionary
+is http://www.ime.usp.br/~ueda/br.ispell.
diff --git a/textproc/ispell-pt_BR/Makefile b/textproc/ispell-pt_BR/Makefile
new file mode 100644
index 00000000000..60cb43660e1
--- /dev/null
+++ b/textproc/ispell-pt_BR/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2013/04/27 10:43:32 rodent Exp $
+#
+
+DISTNAME= br.ispell-2.4
+PKGNAME= ispell-br-2.4
+CATEGORIES= textproc
+MASTER_SITES= http://www.ime.usp.br/~ueda/br.ispell/
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://www.ime.usp.br/~ueda/br.ispell/summary.html
+COMMENT= Brazilian Portuguese dictionary for interactive spelling checker
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= # none
+
+SUBST_CLASSES+= paths
+SUBST_FILES.paths= Makefile
+SUBST_MESSAGE.paths= Fixing paths.
+SUBST_SED.paths= -e "s|prefix=/usr/local|prefix=${PREFIX}|1"
+SUBST_SED.paths+= -e "s|/usr/lib/ispell|${PREFIX}/lib|1"
+SUBST_STAGE.paths= post-patch
+
+BUILD_MAKE_FLAGS+= AWK=${AWK}
+
+DEPENDS+= ispell-[0-9]*:../../textproc/ispell
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ispell-pt_BR/PLIST b/textproc/ispell-pt_BR/PLIST
new file mode 100644
index 00000000000..0861e6f7416
--- /dev/null
+++ b/textproc/ispell-pt_BR/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2013/04/27 10:43:32 rodent Exp $
+bin/conjugue
+lib/br.aff
+lib/br.hash
+lib/verbos
+man/man1/conjugue.1
diff --git a/textproc/ispell-pt_BR/distinfo b/textproc/ispell-pt_BR/distinfo
new file mode 100644
index 00000000000..53eea90c64b
--- /dev/null
+++ b/textproc/ispell-pt_BR/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/04/27 10:43:32 rodent Exp $
+
+SHA1 (br.ispell-2.4.tar.gz) = 18e13d69950cb3112436cd5787f250a195449a3e
+RMD160 (br.ispell-2.4.tar.gz) = 03af370a1bc12b965f602e177aa21a9280975589
+Size (br.ispell-2.4.tar.gz) = 125359 bytes
+SHA1 (patch-Makefile) = 1e3932ea6a42c6cc21626051a3dc0fe8e331ff05
diff --git a/textproc/ispell-pt_BR/patches/patch-Makefile b/textproc/ispell-pt_BR/patches/patch-Makefile
new file mode 100644
index 00000000000..f9110f84c88
--- /dev/null
+++ b/textproc/ispell-pt_BR/patches/patch-Makefile
@@ -0,0 +1,34 @@
+$NetBSD: patch-Makefile,v 1.1 2013/04/27 10:43:32 rodent Exp $
+
+Install to DESTDIR and fix install flags.
+
+--- Makefile.orig 1999-10-18 17:15:22.000000000 +0000
++++ Makefile
+@@ -72,19 +72,19 @@ br.hash: v.ispell
+ # Instala o br.hash
+ #
+ install-hash: br.ispell
+- install -d $(HASHDIR)
+- install --mode=644 br.hash br.aff $(HASHDIR)
++ install -d ${DESTDIR}$(HASHDIR)
++ install -m 644 br.hash br.aff ${DESTDIR}$(HASHDIR)
+
+ #
+ # Instala o conjugue
+ #
+ install-conjugue: conjugue
+- install -d $(BINDIR)
+- install --mode=755 conjugue $(BINDIR)/conjugue
+- install -d $(VDIR)
+- install --mode=644 verbos $(VDIR)/verbos
+- install -d $(MANDIR)/man1
+- install --mode=644 conjugue.1 $(MANDIR)/man1/conjugue.1
++ install -d ${DESTDIR}$(BINDIR)
++ install -m 755 conjugue ${DESTDIR}$(BINDIR)/conjugue
++ install -d ${DESTDIR}$(VDIR)
++ install -m 644 verbos ${DESTDIR}$(VDIR)/verbos
++ install -d ${DESTDIR}$(MANDIR)/man1
++ install -m 644 conjugue.1 ${DESTDIR}$(MANDIR)/man1/conjugue.1
+
+ #
+ # instala tudo