diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-04-06 17:14:52 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-04-06 17:14:52 +0000 |
commit | 4c28f7b0848cd9e81515ca11f311a1ccabd99f35 (patch) | |
tree | 71586e89329ecf1edbcd52006148306141f1adc8 /media-libs | |
parent | Unmask >=app-shells/pdsh-2.18-r1. Libtool unbundled. (diff) | |
download | gentoo-2-4c28f7b0848cd9e81515ca11f311a1ccabd99f35.tar.gz gentoo-2-4c28f7b0848cd9e81515ca11f311a1ccabd99f35.tar.bz2 gentoo-2-4c28f7b0848cd9e81515ca11f311a1ccabd99f35.zip |
Bump to EAPI=3, add prefix keywords
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libwmf/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libwmf/libwmf-0.2.8.4-r3.ebuild | 27 |
2 files changed, 17 insertions, 17 deletions
diff --git a/media-libs/libwmf/ChangeLog b/media-libs/libwmf/ChangeLog index 626c6dd33c63..2287182e541d 100644 --- a/media-libs/libwmf/ChangeLog +++ b/media-libs/libwmf/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/libwmf -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/ChangeLog,v 1.66 2009/12/28 00:41:30 flameeyes Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/ChangeLog,v 1.67 2010/04/06 17:14:52 abcd Exp $ + + 06 Apr 2010; Jonathan Callen <abcd@gentoo.org> libwmf-0.2.8.4-r3.ebuild: + Bump to EAPI=3, add prefix keywords 28 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org> libwmf-0.2.8.4-r3.ebuild: diff --git a/media-libs/libwmf/libwmf-0.2.8.4-r3.ebuild b/media-libs/libwmf/libwmf-0.2.8.4-r3.ebuild index 35c4c9ce8b16..39baefe661ae 100644 --- a/media-libs/libwmf/libwmf-0.2.8.4-r3.ebuild +++ b/media-libs/libwmf/libwmf-0.2.8.4-r3.ebuild @@ -1,6 +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/media-libs/libwmf/libwmf-0.2.8.4-r3.ebuild,v 1.9 2009/12/28 00:41:30 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/libwmf-0.2.8.4-r3.ebuild,v 1.10 2010/04/06 17:14:52 abcd Exp $ + +EAPI="3" inherit eutils autotools @@ -14,7 +16,7 @@ SRC_URI="mirror://sourceforge/wvware/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris" IUSE="X expat xml debug doc gtk" RDEPEND="app-text/ghostscript-gpl @@ -38,9 +40,7 @@ DEPEND="${RDEPEND} )" # plotutils are not really supported yet, so looks like that's it -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { if ! use doc ; then sed -e 's:doc::' -i Makefile.am fi @@ -54,7 +54,7 @@ src_unpack() { eautoreconf } -src_compile() { +src_configure() { if use expat && use xml ; then elog "You can specify only one USE flag from expat and xml, to use expat" elog "or libxml2, respectively." @@ -74,12 +74,9 @@ src_compile() { --disable-gd \ --with-sys-gd \ ${myconf} \ - --with-gsfontdir=/usr/share/ghostscript/fonts \ - --with-fontdir=/usr/share/libwmf/fonts/ \ - --with-docdir=/usr/share/doc/${PF} \ - || die "./configure failed" - - emake || die + --with-gsfontdir="${EPREFIX}"/usr/share/ghostscript/fonts \ + --with-fontdir="${EPREFIX}"/usr/share/libwmf/fonts/ \ + --with-docdir="${EPREFIX}"/usr/share/doc/${PF} } src_install() { @@ -90,8 +87,8 @@ src_install() { set_gtk_confdir() { # An arch specific config directory is used on multilib systems - has_multilib_profile && GTK2_CONFDIR="${ROOT}etc/gtk-2.0/${CHOST}" - GTK2_CONFDIR="${GTK2_CONFDIR:-/etc/gtk-2.0}" + has_multilib_profile && GTK2_CONFDIR="${EROOT}etc/gtk-2.0/${CHOST}" + GTK2_CONFDIR="${GTK2_CONFDIR:-${EROOT}etc/gtk-2.0}" } pkg_postinst() { |