/[gentoo-x86]/app-text/xdvik/xdvik-22.40y.ebuild
Gentoo

Contents of /app-text/xdvik/xdvik-22.40y.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed May 5 11:29:01 2004 UTC (10 years, 6 months ago) by usata
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Version bumped.

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/app-text/xdvik/xdvik-22.40y.ebuild,v 1.4 2003/09/08 17:02:24 usata Exp $
4
5 inherit eutils
6
7 IUSE="cjk libwww"
8
9 XDVIK_PATCH="${P}-j1.17.patch.gz"
10
11 DESCRIPTION="DVI previewer for X Window System"
12 SRC_URI="mirror://sourceforge/xdvi/${P}.tar.gz
13 cjk? ( mirror://gentoo/${XDVIK_PATCH} )"
14 HOMEPAGE="http://sourceforge.net/projects/xdvi/"
15
16 KEYWORDS="x86 alpha ~ppc ~sparc"
17 SLOT="0"
18 LICENSE="GPL-2"
19
20 DEPEND=">=media-libs/t1lib-1.3
21 app-text/ptex
22 !app-text/tetex
23 virtual/x11
24 cjk? ( =media-libs/vflib-2* )
25 libwww? ( >=net-libs/libwww-5.3.2-r1 )"
26
27 src_unpack () {
28
29 unpack ${P}.tar.gz
30 use cjk && epatch ${DISTDIR}/${XDVIK_PATCH}
31 }
32
33 src_compile () {
34
35 local myconf
36
37 use libwww && myconf="--with-system-wwwlib"
38
39 econf --enable-xdvietcdir=/usr/share/texmf/xdvi \
40 --disable-multiplatform \
41 --with-system-t1lib \
42 ${myconf} || die "econf failed"
43
44 cd texk/xdvik
45 make || die
46 }
47
48 src_install () {
49
50 dodir /usr/share/texmf/xdvi
51 dodir /usr/share/man/man1
52
53 cd ${S}/texk/xdvik
54 einstall texmf=${D}/usr/share/texmf \
55 XDVIETCDIR=${D}/usr/share/texmf/xdvi || die "install failed"
56
57 dodoc ANNOUNCE BUGS FAQ README.*
58 if [ -n "`use cjk`" ]; then
59 dodoc CHANGES.xdvik-jp
60 docinto READMEs
61 dodoc READMEs/*
62 fi
63 }

  ViewVC Help
Powered by ViewVC 1.1.20