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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Tue Jun 26 19:07:26 2007 UTC (7 years, 3 months ago) by pylon
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
Removing old files as requested in bug #182403.
(Portage version: 2.1.3_rc5)

1 # Copyright 1999-2006 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.ebuild,v 1.12 2006/10/15 09:07:57 genstef 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="amd64 ppc x86"
14
15 RDEPEND="=x11-libs/gtk+-1.2*
16 virtual/ghostscript"
17 DEPEND="app-arch/unzip
18 !app-text/epstool
19 =x11-libs/gtk+-1.2*"
20
21 src_compile() {
22 ## copy Unix makefile
23 ln -s srcunx/unx.mak Makefile
24
25 ## respect CFLAGS
26 sed -i -e "s:^CFLAGS=-O :CFLAGS=${CFLAGS} :g" Makefile
27
28 ## run Makefile
29 make || die "Error compiling files."
30 }
31
32 src_install() {
33 dobin bin/gsview bin/epstool
34
35 insinto /usr/share/applications
36 newins srcunx/gvxhelp.txt gview
37
38 doman srcunx/gsview.1
39
40 dodoc gsview.css cdorder.txt regorder.txt LICENCE
41
42 if use doc
43 then
44 dohtml *.htm bin/*.htm
45 fi
46
47 insinto /etc/gsview
48 doins src/printer.ini
49 }

  ViewVC Help
Powered by ViewVC 1.1.20