summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-08-22 02:22:53 +0000
committerChristoph Junghans <ottxor@gentoo.org>2012-08-22 02:22:53 +0000
commite73b20662d91d97f0a88888c2a5df078861450f3 (patch)
tree63e3fbae733e4a509b26d51f313526d53b331d41 /media-gfx
parentUse fowners instead of chown (bug #432256). (diff)
downloadgentoo-2-e73b20662d91d97f0a88888c2a5df078861450f3.tar.gz
gentoo-2-e73b20662d91d97f0a88888c2a5df078861450f3.tar.bz2
gentoo-2-e73b20662d91d97f0a88888c2a5df078861450f3.zip
added prefix keywords
(Portage version: 2.2.0_alpha121/cvs/Linux i686)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/xv/ChangeLog5
-rw-r--r--media-gfx/xv/xv-3.10a-r16.ebuild14
2 files changed, 11 insertions, 8 deletions
diff --git a/media-gfx/xv/ChangeLog b/media-gfx/xv/ChangeLog
index a18882ac8b79..eb42025b5b57 100644
--- a/media-gfx/xv/ChangeLog
+++ b/media-gfx/xv/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/xv
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/ChangeLog,v 1.114 2012/03/21 06:27:25 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/ChangeLog,v 1.115 2012/08/22 02:22:53 ottxor Exp $
+
+ 22 Aug 2012; Christoph Junghans <ottxor@gentoo.org> xv-3.10a-r16.ebuild:
+ added prefix keywords
21 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> xv-3.10a-r16.ebuild:
Use gentoo mirrors.
diff --git a/media-gfx/xv/xv-3.10a-r16.ebuild b/media-gfx/xv/xv-3.10a-r16.ebuild
index 27f0016f1896..987bccbdde0c 100644
--- a/media-gfx/xv/xv-3.10a-r16.ebuild
+++ b/media-gfx/xv/xv-3.10a-r16.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/xv/xv-3.10a-r16.ebuild,v 1.11 2012/03/21 06:27:25 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/xv-3.10a-r16.ebuild,v 1.12 2012/08/22 02:22:53 ottxor Exp $
EAPI=4
inherit eutils flag-o-matic
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/png-mng/${P}-jumbo-patches-${JUMBOV}.tar.gz
LICENSE="xv"
SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="jpeg tiff png"
DEPEND="x11-libs/libXt
@@ -57,7 +57,7 @@ src_prepare() {
-e "s/\(^LIBS = .*\)/\1${IMAGE_LIBS}/g" Makefile
# /usr/bin/gzip => /bin/gzip
- sed -i -e 's#/usr\(/bin/gzip\)#\1#g' config.h
+ sed -i -e 's#/usr\(/bin/gzip\)#'"${EPREFIX}"'\1#g' config.h
# Fix installation of ps docs
sed -i -e 's#$(DESTDIR)$(LIBDIR)#$(LIBDIR)#g' Makefile
@@ -71,8 +71,8 @@ src_compile() {
emake \
CC="$(tc-getCC)" CCOPTS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
- PREFIX=/usr \
- DOCDIR=/usr/share/doc/${PF} \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
LIBDIR="${T}"
}
@@ -82,8 +82,8 @@ src_install() {
emake \
DESTDIR="${D}" \
- PREFIX=/usr \
- DOCDIR=/usr/share/doc/${PF} \
+ PREFIX="${EPREFIX}"/usr \
+ DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
LIBDIR="${T}" install
dodoc CHANGELOG BUGS IDEAS