blob: 75deaf17b4d32540b2a10ae81fcc59c9e12ae879 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/app-text/xmltex/xmltex-1.0.ebuild,v 1.5 2002/07/11 06:30:19 drobbins Exp $
MY_P="base"
S=${WORKDIR}/${MY_P}
DESCRIPTION="A namespace-aware XML parser written in Tex"
SRC_URI="ftp://ftp.tex.ac.uk/tex-archive/macros/xmltex/${MY_P}.tar.gz"
HOMEPAGE="http://users.ox.ac.uk/~rahtz/passivetex/"
DEPEND="app-text/tetex"
SLOT="0"
src_compile() {
cp ${FILESDIR}/${P}-Makefile Makefile
make || die
}
src_install () {
make DESTDIR=${D} install || die
dodir /usr/bin
cd ${D}/usr/bin
ln -sf /usr/bin/virtex xmltex
ln -sf /usr/bin/pdfvirtex pdfxmltex
}
pkg_postinst() {
if [ -e /usr/bin/mktexlsr ]
then
/usr/bin/mktexlsr
fi
}
|