summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-01-16 10:26:18 +0000
committerSamuli Suominen <drac@gentoo.org>2008-01-16 10:26:18 +0000
commit8c582a90f6a49608ea8207ed4935c5648c836d6f (patch)
tree7db2a098b618f5b5dd4221475b133dd718c0fb0a /app-text/diction
parentversion bump, restrict installsources as ocamlduce kills the ocamlc -custom c... (diff)
downloadgentoo-2-8c582a90f6a49608ea8207ed4935c5648c836d6f.tar.gz
gentoo-2-8c582a90f6a49608ea8207ed4935c5648c836d6f.tar.bz2
gentoo-2-8c582a90f6a49608ea8207ed4935c5648c836d6f.zip
Fix language iconv conversion to unicode and LICENSE to GPL-3 wrt Comment #5 in #170984, thanks to James Rowe.
(Portage version: 2.1.4)
Diffstat (limited to 'app-text/diction')
-rw-r--r--app-text/diction/ChangeLog8
-rw-r--r--app-text/diction/diction-1.11.ebuild29
2 files changed, 19 insertions, 18 deletions
diff --git a/app-text/diction/ChangeLog b/app-text/diction/ChangeLog
index 49b274eb9ae9..b256a9f9e959 100644
--- a/app-text/diction/ChangeLog
+++ b/app-text/diction/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/diction
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/diction/ChangeLog,v 1.27 2007/12/25 14:49:17 phreak Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/diction/ChangeLog,v 1.28 2008/01/16 10:26:18 drac Exp $
+
+ 16 Jan 2008; Samuli Suominen <drac@gentoo.org> diction-1.11.ebuild:
+ Fix language iconv conversion to unicode and LICENSE to GPL-3 wrt Comment #5
+ in #170984, thanks to James Rowe.
25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing seemant from metadata.xml as per #202469. Assigning to
diff --git a/app-text/diction/diction-1.11.ebuild b/app-text/diction/diction-1.11.ebuild
index 4bd8cb2d0d7a..58894b004bdb 100644
--- a/app-text/diction/diction-1.11.ebuild
+++ b/app-text/diction/diction-1.11.ebuild
@@ -1,34 +1,31 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/diction/diction-1.11.ebuild,v 1.2 2007/10/13 22:46:50 mr_bones_ Exp $
-
-inherit eutils versionator
-
-MY_PV=$(replace_version_separator 2 -)
+# $Header: /var/cvsroot/gentoo-x86/app-text/diction/diction-1.11.ebuild,v 1.3 2008/01/16 10:26:18 drac Exp $
DESCRIPTION="Diction and style checkers for english and german texts"
HOMEPAGE="http://www.gnu.org/software/diction/diction.html"
-SRC_URI="http://www.moria.de/~michael/diction/${PN}-${MY_PV}.tar.gz"
+SRC_URI="http://www.moria.de/~michael/${PN}/${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~mips ~ppc ~ppc-macos ~sparc ~x86"
IUSE="unicode"
-DEPEND="sys-devel/gettext"
-RDEPEND="virtual/libintl"
-
-S="${WORKDIR}"/${PN}-$(get_version_component_range 1-2)
+DEPEND="sys-devel/gettext
+ virtual/libintl"
src_unpack() {
- unpack "${A}"; cd "${S}"
+ unpack ${A}
+ cd "${S}"
if use unicode; then
- iconv -f ISO-8859-1 -t UTF-8 de > de.new || die "charset conversion failed."
- mv de.new de
+ for lang in de nl; do
+ iconv -f ISO-8859-1 -t UTF-8 ${lang} > ${lang}.new || die "iconv failed."
+ mv ${lang}.new ${lang}
+ done
fi
}
src_install() {
- make DESTDIR="${D}" install
+ emake DESTDIR="${D}" install || die "emake install failed."
dodoc NEWS README
}