summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-12-13 13:24:20 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-12-13 13:24:20 +0000
commit3fc66d42a3de6c8b2fb0dd2715e3af0f72249d27 (patch)
tree3322eec69997de5496565208e63386878ee65a01 /app-text/gsview
parentMarked stable on hppa. (diff)
downloadgentoo-2-3fc66d42a3de6c8b2fb0dd2715e3af0f72249d27.tar.gz
gentoo-2-3fc66d42a3de6c8b2fb0dd2715e3af0f72249d27.tar.bz2
gentoo-2-3fc66d42a3de6c8b2fb0dd2715e3af0f72249d27.zip
fixed some typos, added `use doc` functionality
Diffstat (limited to 'app-text/gsview')
-rw-r--r--app-text/gsview/ChangeLog5
-rw-r--r--app-text/gsview/Manifest4
-rw-r--r--app-text/gsview/gsview-4.5.ebuild23
3 files changed, 23 insertions, 9 deletions
diff --git a/app-text/gsview/ChangeLog b/app-text/gsview/ChangeLog
index bcc4abfe57c0..f06eb1154cdd 100644
--- a/app-text/gsview/ChangeLog
+++ b/app-text/gsview/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/gsview
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gsview/ChangeLog,v 1.1 2003/12/09 20:54:33 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gsview/ChangeLog,v 1.2 2003/12/13 13:24:15 lanius Exp $
+
+ 13 Dec 2003; Heinrich Wendel <lanius@gentoo.org> gsview-4.5.ebuild:
+ fixed some typos, added `use doc` functionality
09 Dec 2003; Heinrich Wendel <lanius@gentoo.org> gsview-4.5.ebuild:
initial ebuild, bug #33142, submitted by Craig Bradney <cbradney@zip.com.au>
diff --git a/app-text/gsview/Manifest b/app-text/gsview/Manifest
index 46132c7171af..fdce65c6c2a5 100644
--- a/app-text/gsview/Manifest
+++ b/app-text/gsview/Manifest
@@ -1,2 +1,4 @@
-MD5 863700a130b7f6592a1e9dcd84e5035f gsview-4.5.ebuild 802
+MD5 a2820156dc93c764531420b75e508f33 gsview-4.5.ebuild 1021
+MD5 a1441fdb236d895cd82ae9947f8f13e5 ChangeLog 483
+MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
MD5 0b2550f8e3ba26036407ffaa0ff893cb files/digest-gsview-4.5 58
diff --git a/app-text/gsview/gsview-4.5.ebuild b/app-text/gsview/gsview-4.5.ebuild
index e53f7ebaa2aa..9b6e44fc3a19 100644
--- a/app-text/gsview/gsview-4.5.ebuild
+++ b/app-text/gsview/gsview-4.5.ebuild
@@ -1,36 +1,45 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gsview/gsview-4.5.ebuild,v 1.1 2003/12/09 20:54:33 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gsview/gsview-4.5.ebuild,v 1.2 2003/12/13 13:24:15 lanius Exp $
+MY_PV="${PV/.}"
DESCRIPTION="gsView PostScript and PDF viewer"
-SRC_URI="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsv45src.zip"
+SRC_URI="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsv${MY_PV}src.zip"
HOMEPAGE="http://www.cs.wisc.edu/~ghost/gsview/"
+IUSE="doc"
SLOT="0"
LICENSE="Aladdin"
KEYWORDS="~x86"
-RDEPEND=">=x11-libs/gtk+-1.2
+RDEPEND="=x11-libs/gtk+-1.2*
app-text/ghostscript-afpl"
src_compile() {
## copy Unix makefile
ln -s srcunx/unx.mak Makefile
+ ## respect CFLAGS
+ sed -i -e "s:^CFLAGS=-O :CFLAGS=${CFLAGS} :g" Makefile
+
## run Makefile
make || die "Error compiling files."
}
src_install() {
- dobin bin/gsview bin/esptool
+ dobin bin/gsview bin/epstool
insinto /usr/share/applications
- newins srcunx/gvhelp.txt gview
+ newins srcunx/gvxhelp.txt gview
doman srcunx/gsview.1
- dodoc gsview.css cdorder.txt regorder.txt Readme.txt LICENCE
- dohtml *.htm bin/*.htm
+ dodoc gsview.css cdorder.txt regorder.txt LICENCE
+
+ if use doc
+ then
+ dohtml *.htm bin/*.htm
+ fi
insinto /etc/gsview
doins src/printer.ini