summaryrefslogtreecommitdiff
blob: 6ad47266905930f4849b87fbc0472a2d27ce6a03 (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
34
35
36
37
38
39
40
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/passivetex/passivetex-1.4.ebuild,v 1.7 2002/10/04 05:06:51 vapier Exp $

S=${WORKDIR}/passivetex
DESCRIPTION="A namespace-aware XML parser written in Tex"
SRC_URI="http://users.ox.ac.uk/~rahtz/passivetex/${PN}.zip"
HOMEPAGE="http://users.ox.ac.uk/~rahtz/passivetex/"
KEYWORDS="x86 sparc sparc64"
SLOT="0"
LICENSE="freedist"

DEPEND="app-text/tetex app-arch/unzip
	app-text/xmltex"
RDEPEND="app-text/tetex
	app-text/xmltex"

src_unpack() {
	mkdir ${S}
	cd ${S}
	unpack ${A}
	cp ${FILESDIR}/${P}-Makefile Makefile
}

src_compile() {
	make || die
}

src_install () {

	make DESTDIR=${D} install || die

}

pkg_postinst() {
  if [ -e /usr/bin/mktexlsr ]
  then
	/usr/bin/mktexlsr
  fi
}