summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-08-22 02:24:10 +0000
committerChristoph Junghans <ottxor@gentoo.org>2012-08-22 02:24:10 +0000
commit7093c0d3cb85bbbd520b2f7a85e1ca956f32e491 (patch)
treedfb4afb287d8786e02ffdb5445c1604b55878154 /media-gfx/xsane
parentadded prefix keywords (diff)
downloadgentoo-2-7093c0d3cb85bbbd520b2f7a85e1ca956f32e491.tar.gz
gentoo-2-7093c0d3cb85bbbd520b2f7a85e1ca956f32e491.tar.bz2
gentoo-2-7093c0d3cb85bbbd520b2f7a85e1ca956f32e491.zip
added prefix keywords
(Portage version: 2.2.0_alpha121/cvs/Linux i686)
Diffstat (limited to 'media-gfx/xsane')
-rw-r--r--media-gfx/xsane/ChangeLog5
-rw-r--r--media-gfx/xsane/xsane-0.998-r1.ebuild14
2 files changed, 11 insertions, 8 deletions
diff --git a/media-gfx/xsane/ChangeLog b/media-gfx/xsane/ChangeLog
index 68b4a9454024..9b7c95c66bb9 100644
--- a/media-gfx/xsane/ChangeLog
+++ b/media-gfx/xsane/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/xsane
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.95 2012/05/05 07:00:20 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/ChangeLog,v 1.96 2012/08/22 02:24:10 ottxor Exp $
+
+ 22 Aug 2012; Christoph Junghans <ottxor@gentoo.org> xsane-0.998-r1.ebuild:
+ added prefix keywords
05 May 2012; Jeff Horelick <jdhore@gentoo.org> xsane-0.998.ebuild,
xsane-0.998-r1.ebuild:
diff --git a/media-gfx/xsane/xsane-0.998-r1.ebuild b/media-gfx/xsane/xsane-0.998-r1.ebuild
index e3e18423f119..178c6460a77e 100644
--- a/media-gfx/xsane/xsane-0.998-r1.ebuild
+++ b/media-gfx/xsane/xsane-0.998-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/xsane-0.998-r1.ebuild,v 1.2 2012/05/05 07:00:20 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsane/xsane-0.998-r1.ebuild,v 1.3 2012/08/22 02:24:10 ottxor Exp $
EAPI="4"
@@ -13,7 +13,7 @@ SRC_URI="http://www.xsane.org/download/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="nls jpeg png tiff gimp lcms ocr"
RDEPEND="media-gfx/sane-backends
@@ -50,7 +50,7 @@ src_prepare() {
src_configure() {
local extraCPPflags
if use lcms; then
- extraCPPflags="-I /usr/include/lcms"
+ extraCPPflags="-I ${EPREFIX}/usr/include/lcms"
fi
CPPFLAGS="${CPPFLAGS} ${extraCPPflags}" econf --enable-gtk2 \
$(use_enable nls) \
@@ -68,15 +68,15 @@ src_install() {
# link xsane so it is seen as a plugin in gimp
if use gimp; then
local plugindir
- if [ -x /usr/bin/gimptool ]; then
+ if [ -x "${EPREFIX}"/usr/bin/gimptool ]; then
plugindir="$(gimptool --gimpplugindir)/plug-ins"
- elif [ -x /usr/bin/gimptool-2.0 ]; then
+ elif [ -x "${EPREFIX}"/usr/bin/gimptool-2.0 ]; then
plugindir="$(gimptool-2.0 --gimpplugindir)/plug-ins"
else
die "Can't find GIMP plugin directory."
fi
- dodir "${plugindir}"
- dosym /usr/bin/xsane "${plugindir}"
+ dodir "${plugindir#${EPREFIX}}"
+ dosym /usr/bin/xsane "${plugindir#${EPREFIX}}"
fi
newicon src/xsane-48x48.png ${PN}.png