summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-02-05 22:48:19 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-02-05 22:48:19 +0000
commit85b0ef9104581f509e3c02433547c784ccf90d79 (patch)
tree61b12da7db416a97470e08eb24917500830dc8c5
parentnew version (diff)
downloadhistorical-85b0ef9104581f509e3c02433547c784ccf90d79.tar.gz
historical-85b0ef9104581f509e3c02433547c784ccf90d79.tar.bz2
historical-85b0ef9104581f509e3c02433547c784ccf90d79.zip
ebuild cleanup
Package-Manager: portage-2.1_pre4-r1
-rw-r--r--app-text/ghostscript-esp/Manifest6
-rw-r--r--app-text/ghostscript-esp/ghostscript-esp-8.15.1.ebuild18
2 files changed, 11 insertions, 13 deletions
diff --git a/app-text/ghostscript-esp/Manifest b/app-text/ghostscript-esp/Manifest
index 8ac483a67c2e..71902fee3c63 100644
--- a/app-text/ghostscript-esp/Manifest
+++ b/app-text/ghostscript-esp/Manifest
@@ -115,9 +115,9 @@ SHA256 b1e86962359aaecc075e08efb1a217d7e2f4a5569519c14874f4f6de510d24a1 ghostscr
MD5 38ee540e88832a99c1656fd46e1d0409 ghostscript-esp-7.07.1-r8.ebuild 5592
RMD160 149e43d5503650657f17db39aeae55b54c9f69f4 ghostscript-esp-7.07.1-r8.ebuild 5592
SHA256 1a9c753e3b5c4d2f7bb6274a4dea7fef3657dc6ff63dfda7ae35d4ab18a7ff1a ghostscript-esp-7.07.1-r8.ebuild 5592
-MD5 8058e7555183ca059027a5104f94cf16 ghostscript-esp-8.15.1.ebuild 3698
-RMD160 17ad90f02593e49c4a45f94a6f0ee1cd7e0bf572 ghostscript-esp-8.15.1.ebuild 3698
-SHA256 838bbbaa76509e8f0b9701297b4342916f716b15f5acbddbf20facd99a7e1da4 ghostscript-esp-8.15.1.ebuild 3698
+MD5 79ab7118de915a5f5f83709200de8d2b ghostscript-esp-8.15.1.ebuild 3634
+RMD160 ead86d99dc504045bb5c5afa4738add71241c2e3 ghostscript-esp-8.15.1.ebuild 3634
+SHA256 e08d415fcf781acc6b7d8a3fe6ff8b4ffbde8a3a901c4d95962e1da837f349bd ghostscript-esp-8.15.1.ebuild 3634
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 metadata.xml 161
SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76 metadata.xml 161
diff --git a/app-text/ghostscript-esp/ghostscript-esp-8.15.1.ebuild b/app-text/ghostscript-esp/ghostscript-esp-8.15.1.ebuild
index f2a9ae996297..7e9cb60e0929 100644
--- a/app-text/ghostscript-esp/ghostscript-esp-8.15.1.ebuild
+++ b/app-text/ghostscript-esp/ghostscript-esp-8.15.1.ebuild
@@ -1,12 +1,14 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ghostscript-esp-8.15.1.ebuild,v 1.3 2006/02/05 17:52:11 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ghostscript-esp-8.15.1.ebuild,v 1.4 2006/02/05 22:48:19 genstef Exp $
-inherit autotools eutils flag-o-matic
+inherit eutils autotools
DESCRIPTION="ESP Ghostscript -- an enhanced version of GPL Ghostscript with better printer support"
HOMEPAGE="http://www.cups.org/ghostscript.php"
+MY_P=espgs-${PV}
+PVM=${PV%.[0-9]}
SRC_URI="http://ftp.easysw.com/pub/ghostscript/${PV}/espgs-${PV}-source.tar.bz2
cjk? ( http://www.matsusaka-u.ac.jp/mirror/gs-cjk/adobe-cmaps-200204.tar.gz
http://www.matsusaka-u.ac.jp/mirror/gs-cjk/acro5-cmaps-2001.tar.gz )"
@@ -24,7 +26,6 @@ DEP="virtual/libc
X? ( || ( x11-libs/libXt virtual/x11 ) )
gtk? ( >=x11-libs/gtk+-2.0 )
cups? ( >=net-print/cups-1.1.20 )
- omni? ( dev-libs/libxml2 )
!virtual/ghostscript"
RDEPEND="${DEP}
@@ -35,12 +36,9 @@ RDEPEND="${DEP}
DEPEND="${DEP}
gtk? ( dev-util/pkgconfig )"
-
-# media-libs/fontconfig"
-
PROVIDE="virtual/ghostscript"
-S=${WORKDIR}/espgs-8.15.1
+S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
@@ -65,7 +63,7 @@ src_unpack() {
fi
# search path fix
- sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/8.15/$(get_libdir):"\
+ sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVM}/$(get_libdir):"\
Makefile.in || die "sed failed"
sed -i -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \
Makefile.in || die "sed failed"
@@ -97,8 +95,8 @@ src_install() {
make DESTDIR="${D}" install || die "make install failed"
make DESTDIR="${D}" soinstall || die "make install failed"
- rm -fr ${D}/usr/share/ghostscript/8.15/doc || die
- dodoc doc/README doc/COPYING doc/COPYING.LGPL
+ rm -fr ${D}/usr/share/ghostscript/${PVM}/doc || die
+ dodoc doc/README
dohtml doc/*.html doc/*.htm
if use emacs; then