summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-12-20 04:16:22 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-12-20 04:16:22 +0000
commit40692aba366f45813bed08246bb80e15e7eeeabb (patch)
treea4f587200cee23305fedd63ef4691b3a225f4f9b /app-text/unrtf
parentVersion bump (diff)
downloadgentoo-2-40692aba366f45813bed08246bb80e15e7eeeabb.tar.gz
gentoo-2-40692aba366f45813bed08246bb80e15e7eeeabb.tar.bz2
gentoo-2-40692aba366f45813bed08246bb80e15e7eeeabb.zip
Bug #370551: version bump.
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'app-text/unrtf')
-rw-r--r--app-text/unrtf/ChangeLog10
-rw-r--r--app-text/unrtf/files/unrtf-0.21.2-iconv-detection.patch11
-rw-r--r--app-text/unrtf/unrtf-0.21.2.ebuild31
3 files changed, 50 insertions, 2 deletions
diff --git a/app-text/unrtf/ChangeLog b/app-text/unrtf/ChangeLog
index c93468c65bd2..4dec57f93c2f 100644
--- a/app-text/unrtf/ChangeLog
+++ b/app-text/unrtf/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/unrtf
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/ChangeLog,v 1.40 2010/03/09 11:19:14 grobian Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/ChangeLog,v 1.41 2011/12/20 04:16:22 robbat2 Exp $
+
+*unrtf-0.21.2 (20 Dec 2011)
+
+ 20 Dec 2011; Robin H. Johnson <robbat2@gentoo.org> +unrtf-0.21.2.ebuild,
+ +files/unrtf-0.21.2-iconv-detection.patch:
+ Bug #370551: version bump.
09 Mar 2010; Fabian Groffen <grobian@gentoo.org> unrtf-0.21.1.ebuild,
+files/unrtf-0.21.1-iconv-detection.patch:
diff --git a/app-text/unrtf/files/unrtf-0.21.2-iconv-detection.patch b/app-text/unrtf/files/unrtf-0.21.2-iconv-detection.patch
new file mode 100644
index 000000000000..273e2c185a42
--- /dev/null
+++ b/app-text/unrtf/files/unrtf-0.21.2-iconv-detection.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -45,6 +45,8 @@
+ case $host in
+ *-*-cygwin*) AC_SUBST(LIBS, ["-liconv"]);;
+ *aix*) AC_SUBST(LIBS, ["-liconv"]);;
++ *-*-darwin*) AC_SUBST(LIBS, ["-liconv"]);;
++ *-*-solaris*) AC_SUBST(LIBS, ["-liconv"]);;
+ esac
+
+ AC_CONFIG_FILES([Makefile
diff --git a/app-text/unrtf/unrtf-0.21.2.ebuild b/app-text/unrtf/unrtf-0.21.2.ebuild
new file mode 100644
index 000000000000..584d92c963a2
--- /dev/null
+++ b/app-text/unrtf/unrtf-0.21.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/unrtf/unrtf-0.21.2.ebuild,v 1.1 2011/12/20 04:16:22 robbat2 Exp $
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="Converts RTF files to various formats"
+HOMEPAGE="http://www.gnu.org/software/unrtf/unrtf.html"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/unrtf-0.21.1-automake-fix.patch
+ sed -i \
+ -e 's,/usr/local/lib/,/usr/share/,g' \
+ "${S}"/src/*.h || die "failed to sed"
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.21.2-iconv-detection.patch
+ eautoreconf
+}
+
+src_install() {
+ default
+ dodoc ChangeLog NEWS README AUTHORS
+}