diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-02-22 21:07:22 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-02-22 21:07:22 +0000 |
commit | c27d1c832f7a7bac461bda48e626d616cf5434c3 (patch) | |
tree | 687e79ed2137c5447040d29ed963364b61d42b0f /app-text/catdoc | |
parent | Transfer prefix keywords, bump EAPI (diff) | |
download | gentoo-2-c27d1c832f7a7bac461bda48e626d616cf5434c3.tar.gz gentoo-2-c27d1c832f7a7bac461bda48e626d616cf5434c3.tar.bz2 gentoo-2-c27d1c832f7a7bac461bda48e626d616cf5434c3.zip |
Transfer prefix keywords, bump EAPI
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'app-text/catdoc')
-rw-r--r-- | app-text/catdoc/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/catdoc/catdoc-0.94.2-r1.ebuild | 32 |
2 files changed, 20 insertions, 19 deletions
diff --git a/app-text/catdoc/ChangeLog b/app-text/catdoc/ChangeLog index 4901b7375703..660e756c0e52 100644 --- a/app-text/catdoc/ChangeLog +++ b/app-text/catdoc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/catdoc -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/catdoc/ChangeLog,v 1.24 2009/06/09 12:39:47 flameeyes Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/catdoc/ChangeLog,v 1.25 2010/02/22 21:07:22 abcd Exp $ + + 22 Feb 2010; Jonathan Callen <abcd@gentoo.org> catdoc-0.94.2-r1.ebuild: + Transfer prefix keywords, bump EAPI 09 Jun 2009; Diego E. Pettenò <flameeyes@gentoo.org> catdoc-0.94.2-r1.ebuild, +files/catdoc-0.94.2+autoconf-2.63.patch: diff --git a/app-text/catdoc/catdoc-0.94.2-r1.ebuild b/app-text/catdoc/catdoc-0.94.2-r1.ebuild index 60e8ac94c16f..b16390b7d344 100644 --- a/app-text/catdoc/catdoc-0.94.2-r1.ebuild +++ b/app-text/catdoc/catdoc-0.94.2-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/catdoc/catdoc-0.94.2-r1.ebuild,v 1.2 2009/06/09 12:39:47 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/catdoc/catdoc-0.94.2-r1.ebuild,v 1.3 2010/02/22 21:07:22 abcd Exp $ +EAPI=3 WANT_AUTOMAKE=none inherit autotools eutils @@ -19,30 +20,27 @@ DEPEND="tk? ( >=dev-lang/tk-8.1 )" DOCS="CODING.STD CREDITS NEWS README TODO" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}/${P}-flags.patch" epatch "${FILESDIR}/${P}+autoconf-2.63.patch" - eautoconf -} -src_compile() { + # Fix for case-insensitive filesystems + echo ".PHONY: all install clean distclean dist" >> Makefile.in - local myconf="--with-install-root=${D}" + eautoconf +} - use tk \ - && myconf="${myconf} --with-wish=/usr/bin/wish" \ - || myconf="${myconf} --disable-wordview" +src_configure() { + econf --with-install-root="${D}" \ + $(use_with tk wish "${EPREFIX}"/usr/bin/wish) \ + $(use_with !tk wordview) +} - econf ${myconf} || die +src_compile() { emake LIB_DIR=/usr/share/catdoc || die - } src_install() { - - emake -j1 mandir=/usr/share/man/man1 install || die + emake -j1 mandir="${EPREFIX}"/usr/share/man/man1 install || die dodoc ${DOCS} - } |