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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sun Oct 17 01:59:48 2004 UTC (10 years ago) by usata
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Added all arches from tetex-2.0.2-r3.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/xdvik-22.40y-r1.ebuild,v 1.9 2004/06/24 22:56:29 agriffis Exp $
4
5 inherit eutils
6
7 IUSE="cjk libwww"
8
9 XDVIK_JP="${P}-j1.17"
10
11 DESCRIPTION="DVI previewer for X Window System"
12 SRC_URI="mirror://sourceforge/xdvi/${P}.tar.gz
13 cjk? ( mirror://gentoo/${XDVIK_JP}.patch.gz )"
14 HOMEPAGE="http://sourceforge.net/projects/xdvi/"
15
16 KEYWORDS="x86 alpha ppc sparc amd64"
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-fonts/kochi-substitute )
25 libwww? ( >=net-libs/libwww-5.3.2-r1 )"
26
27 src_unpack () {
28
29 unpack ${P}.tar.gz
30 if use cjk ; then
31 epatch ${DISTDIR}/${XDVIK_JP}.patch.gz
32 epatch ${FILESDIR}/${XDVIK_JP}-vfontcap-gentoo.diff
33 fi
34 }
35
36 src_compile () {
37
38 local myconf
39
40 if use cjk ; then
41 export CPPFLAGS="${CPPFLAGS} -I/usr/include/freetype2"
42 myconf="${myconf} --with-vflib=vf2ft"
43 fi
44
45 econf --enable-xdvietcdir=/usr/share/texmf/xdvi \
46 --disable-multiplatform \
47 --with-system-t1lib \
48 `use_with libwww system-wwwlib` \
49 ${myconf} || die "econf failed"
50
51 cd texk/xdvik
52 make || die
53 }
54
55 src_install () {
56
57 dodir /usr/share/texmf/xdvi
58 dodir /usr/share/man/man1
59
60 cd ${S}/texk/xdvik
61 einstall texmf=${D}/usr/share/texmf \
62 XDVIETCDIR=${D}/usr/share/texmf/xdvi \
63 || die "install failed"
64
65 dodoc ANNOUNCE BUGS FAQ README.*
66 if use cjk; then
67 dodoc CHANGES.xdvik-jp
68 docinto READMEs
69 dodoc READMEs/*
70 fi
71 }

  ViewVC Help
Powered by ViewVC 1.1.20