/[gentoo-x86]/app-text/gsview/gsview-4.6-r1.ebuild
Gentoo

Contents of /app-text/gsview/gsview-4.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Apr 2 22:12:35 2006 UTC (8 years, 6 months ago) by genstef
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump, remove old, add gsesp patch thanks to Marek Szuba <cyberman@if.pw.edu.pl> in bug 123870
(Portage version: 2.1_pre7-r2)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/gsview/gsview-4.6-r1.ebuild,v 1.3 2005/12/10 21:49:17 vanquirius Exp $
4
5 MY_PV="${PV/.}"
6 DESCRIPTION="gsView PostScript and PDF viewer"
7 SRC_URI="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsv${MY_PV}src.zip"
8 HOMEPAGE="http://www.cs.wisc.edu/~ghost/gsview/"
9
10 IUSE="doc"
11 SLOT="0"
12 LICENSE="Aladdin"
13 KEYWORDS="~x86 ~ppc ~amd64"
14
15 RDEPEND="=x11-libs/gtk+-1.2*
16 app-text/epstool
17 virtual/ghostscript"
18 DEPEND="app-arch/unzip"
19 PROVIDE="virtual/pdfviewer
20 virtual/psviewer"
21
22 src_compile() {
23 ## copy Unix makefile
24 ln -s srcunx/unx.mak Makefile
25
26 ## respect CFLAGS
27 echo ${P}
28 sed -i -e "s:^CFLAGS=-O :CFLAGS=${CFLAGS} :g" Makefile
29 sed -i -e "s:GSVIEW_DOCPATH:\"/usr/share/doc/${PF}/html/\":" srcunx/gvx.c
30
31 ## run Makefile
32 make || die "Error compiling files."
33 }
34
35 src_install() {
36 dobin bin/gsview
37
38 doman srcunx/gsview.1
39
40 dodoc gsview.css cdorder.txt regorder.txt LICENCE
41
42 if use doc
43 then
44 dobin ${FILESDIR}/gsview-help
45 dohtml *.htm bin/*.htm
46 fi
47
48 insinto /etc/gsview
49 doins src/printer.ini
50 }

  ViewVC Help
Powered by ViewVC 1.1.20