summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-dicts/aspell-pt')
-rw-r--r--app-dicts/aspell-pt/ChangeLog7
-rw-r--r--app-dicts/aspell-pt/Manifest6
-rw-r--r--app-dicts/aspell-pt/aspell-pt-20041027.ebuild36
-rw-r--r--app-dicts/aspell-pt/files/Makefile-fix27
-rw-r--r--app-dicts/aspell-pt/files/configure-new11
-rw-r--r--app-dicts/aspell-pt/files/digest-aspell-pt-200410271
6 files changed, 85 insertions, 3 deletions
diff --git a/app-dicts/aspell-pt/ChangeLog b/app-dicts/aspell-pt/ChangeLog
index b4170eb6d616..e2fe214c28f2 100644
--- a/app-dicts/aspell-pt/ChangeLog
+++ b/app-dicts/aspell-pt/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for app-dicts/aspell-pt
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/aspell-pt/ChangeLog,v 1.6 2005/01/01 12:44:45 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/aspell-pt/ChangeLog,v 1.7 2005/02/15 21:53:44 arj Exp $
+*aspell-pt-20041027 (15 Feb 2005)
+
+ 15 Feb 2005; Anders Rune Jensen <arj@gentoo.org> +aspell-pt-20041027.ebuild:
+ New version. Fixes #76506.
+
30 Jul 2004; Anders Rune Jensen <arj@gentoo.org> +metadata.xml,
QA - IUSE fix and {add missing,correct} metatata.xml.
diff --git a/app-dicts/aspell-pt/Manifest b/app-dicts/aspell-pt/Manifest
index 900204022fbf..0b3eee1ba54e 100644
--- a/app-dicts/aspell-pt/Manifest
+++ b/app-dicts/aspell-pt/Manifest
@@ -1,4 +1,6 @@
-MD5 2d602b8fba0cfc037276ebed0441b742 ChangeLog 686
-MD5 32f0e99d3aed9597f5a345ecebce9272 aspell-pt-0.50.2.ebuild 293
MD5 eb03775ece62e57725480e782cd84ee8 metadata.xml 162
+MD5 28cacc23cd9377743e65cd20c8679820 aspell-pt-20041027.ebuild 429
+MD5 32f0e99d3aed9597f5a345ecebce9272 aspell-pt-0.50.2.ebuild 293
+MD5 f770034e5f37369d112d4ad55b5bd17f ChangeLog 831
MD5 91931b223724843289282cc30b04911f files/digest-aspell-pt-0.50.2 69
+MD5 2028d463ab240c260febcb6251f41610 files/digest-aspell-pt-20041027 71
diff --git a/app-dicts/aspell-pt/aspell-pt-20041027.ebuild b/app-dicts/aspell-pt/aspell-pt-20041027.ebuild
new file mode 100644
index 000000000000..e786acfa7a9d
--- /dev/null
+++ b/app-dicts/aspell-pt/aspell-pt-20041027.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/aspell-pt/aspell-pt-20041027.ebuild,v 1.1 2005/02/15 21:53:44 arj Exp $
+
+ASPELL_LANG="Portuguese"
+
+LICENSE="GPL-2"
+
+inherit eutils
+
+DESCRIPTION="${ASPELL_LANG} language dictionary for aspell"
+SRC_URI="http://natura.di.uminho.pt/download/sources/Dictionaries/aspell/aspell.pt.${PV}.tar.gz"
+HOMEPAGE="http://natura.di.uminho.pt"
+S=${WORKDIR}/portugues
+
+IUSE=""
+SLOT="0"
+KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 ppc64"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/Makefile-fix
+ epatch ${FILESDIR}/configure-new
+ chmod +x configure
+}
+
+src_compile() {
+ ./configure
+ emake || die "make failed"
+}
+
+src_install() {
+ addwrite "/usr/lib/"
+ emake install || die "make failed"
+}
diff --git a/app-dicts/aspell-pt/files/Makefile-fix b/app-dicts/aspell-pt/files/Makefile-fix
new file mode 100644
index 000000000000..f262a34a53e4
--- /dev/null
+++ b/app-dicts/aspell-pt/files/Makefile-fix
@@ -0,0 +1,27 @@
+--- Makefile 2001-06-29 18:31:25.000000000 +0200
++++ ../Makefile 2005-02-06 21:43:07.838584616 +0100
+@@ -1,20 +1,17 @@
++include config.mak
++
+ DICT = portugues.aspell
+
+ CONFIG = portugues.dat
+ PHONET = portugues_phone.dat
+
+-pkgdatadir = `aspell dump config | grep '^. data-dir current' | sed 's/^.*: \(.*\)$$/\1/'`
+-pkglibdir = `aspell dump config | grep '^. dict-dir current' | sed 's/^.*: \(.*\)$$/\1/'`
+-pspell_pkgdatadir = `pspell-config pkgdatadir`
+-
+-INSTALL = /usr/bin/install -c
++INSTALL = install -c
+ INSTALL_DATA = ${INSTALL} -m 644
+
+ all: portugues pt-aspell.pwli
+
+ portugues: $(DICT) $(PHONET) $(CONFIG)
+- cp $(pkgdatadir)/iso8859-1.dat ./
+- aspell --data-dir=. --lang=portugues create master ./portugues < $(DICT)
++ aspell --data-dir=${pkgdatadir} --lang=portugues create master ./portugues < $(DICT)
+
+ pt-aspell.pwli:
+ echo $(pkglibdir)/portugues > pt-aspell.pwli
diff --git a/app-dicts/aspell-pt/files/configure-new b/app-dicts/aspell-pt/files/configure-new
new file mode 100644
index 000000000000..51e67f0ba0df
--- /dev/null
+++ b/app-dicts/aspell-pt/files/configure-new
@@ -0,0 +1,11 @@
+--- configure 1970-01-01 01:00:00.000000000 +0100
++++ ../configure 2005-02-06 21:40:00.751026248 +0100
+@@ -0,0 +1,8 @@
++dictdir=`aspell dump config dict-dir`
++datadir=`aspell dump config data-dir`
++pspell=`pspell-config pkgdatadir`
++
++echo "DESTDIR = $DESTDIR" >> config.mak
++echo "pkglibdir = $dictdir" >> config.mak
++echo "pkgdatadir = $datadir" >> config.mak
++echo "pspell_pkgdatadir = $pspell" >> config.mak
diff --git a/app-dicts/aspell-pt/files/digest-aspell-pt-20041027 b/app-dicts/aspell-pt/files/digest-aspell-pt-20041027
new file mode 100644
index 000000000000..192ba0c6f950
--- /dev/null
+++ b/app-dicts/aspell-pt/files/digest-aspell-pt-20041027
@@ -0,0 +1 @@
+MD5 d420179cccb2bf18e2b4b6d7b7f70a04 aspell.pt.20041027.tar.gz 1025249