summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2011-04-12 21:32:01 +0000
committerJonathan Callen <abcd@gentoo.org>2011-04-12 21:32:01 +0000
commit463aac6e11c575c89402084c457c462976a7fde9 (patch)
tree6f5951bfb52dfc8fdf99f1c95e4a70e5122381a5 /app-text/dvipdfm
parentRevision bump; fix init script. (diff)
downloadgentoo-2-463aac6e11c575c89402084c457c462976a7fde9.tar.gz
gentoo-2-463aac6e11c575c89402084c457c462976a7fde9.tar.bz2
gentoo-2-463aac6e11c575c89402084c457c462976a7fde9.zip
Add prefix support, bump EAPI to 3, add prefix keywords
(Portage version: 2.2.0_alpha29_p11/cvs/Linux i686)
Diffstat (limited to 'app-text/dvipdfm')
-rw-r--r--app-text/dvipdfm/ChangeLog7
-rw-r--r--app-text/dvipdfm/dvipdfm-0.13.2d-r1.ebuild18
2 files changed, 14 insertions, 11 deletions
diff --git a/app-text/dvipdfm/ChangeLog b/app-text/dvipdfm/ChangeLog
index 1c832aa6c03b..262411941dbb 100644
--- a/app-text/dvipdfm/ChangeLog
+++ b/app-text/dvipdfm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/dvipdfm
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfm/ChangeLog,v 1.33 2010/03/08 15:40:37 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfm/ChangeLog,v 1.34 2011/04/12 21:32:01 abcd Exp $
+
+ 12 Apr 2011; Jonathan Callen <abcd@gentoo.org> dvipdfm-0.13.2d-r1.ebuild:
+ Add prefix support, bump EAPI to 3, add prefix keywords
08 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
dvipdfm-0.13.2d-r1.ebuild, +files/dvipdfm-0.13.2d-libpng14.patch:
diff --git a/app-text/dvipdfm/dvipdfm-0.13.2d-r1.ebuild b/app-text/dvipdfm/dvipdfm-0.13.2d-r1.ebuild
index 43cea59eebf8..f0d5cb498f23 100644
--- a/app-text/dvipdfm/dvipdfm-0.13.2d-r1.ebuild
+++ b/app-text/dvipdfm/dvipdfm-0.13.2d-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfm/dvipdfm-0.13.2d-r1.ebuild,v 1.14 2010/03/08 15:40:37 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfm/dvipdfm-0.13.2d-r1.ebuild,v 1.15 2011/04/12 21:32:01 abcd Exp $
+EAPI=3
inherit eutils
DESCRIPTION="DVI to PDF translator"
@@ -9,7 +10,7 @@ SRC_URI="http://gaspra.kettering.edu/dvipdfm/${P}.tar.gz"
HOMEPAGE="http://gaspra.kettering.edu/dvipdfm/"
LICENSE="GPL-2"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE=""
@@ -18,12 +19,11 @@ DEPEND="!>=app-text/tetex-2
>=sys-libs/zlib-1.1.4
!app-text/ptex
virtual/latex-base"
+RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-libpng14.patch
}
@@ -34,12 +34,12 @@ src_install () {
dodir /usr/share/texmf/fonts/map/dvipdfm/base
for i in cmr.map psbase14.map lw35urw.map lw35urwa.map t1fonts.map; do
- mv "${D}usr/share/texmf/dvipdfm/config/${i}" "${D}usr/share/texmf/fonts/map/dvipdfm/base" || die "moving .map file failed"
+ mv "${ED}usr/share/texmf/dvipdfm/config/${i}" "${ED}usr/share/texmf/fonts/map/dvipdfm/base" || die "moving .map file failed"
done
dodir /usr/share/texmf/fonts/enc/dvipdfm
- mv "${D}usr/share/texmf/dvipdfm/base" "${D}usr/share/texmf/fonts/enc/dvipdfm/base" || die "moving .enc file failed"
+ mv "${ED}usr/share/texmf/dvipdfm/base" "${ED}usr/share/texmf/fonts/enc/dvipdfm/base" || die "moving .enc file failed"
dodoc AUTHORS ChangeLog Credits NEWS OBTAINING README* TODO
@@ -55,6 +55,6 @@ src_install () {
pkg_postinst() {
if [ "$ROOT" = "/" ] ; then
- /usr/sbin/texmf-update
+ "${EPREFIX}"/usr/sbin/texmf-update
fi
}