summaryrefslogtreecommitdiff
blob: b444a6cb32119099a8e78698815a52ea85a9a9e4 (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
41
42
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfm/dvipdfm-0.13.2c.ebuild,v 1.16 2006/03/16 13:56:12 ehmsen Exp $

DESCRIPTION="DVI to PDF translator"
SRC_URI="http://gaspra.kettering.edu/dvipdfm/${P}.tar.gz"
HOMEPAGE="http://gaspra.kettering.edu/dvipdfm/"
LICENSE="GPL-2"

KEYWORDS="x86 ppc sparc"
SLOT="0"
IUSE=""

DEPEND="!>=app-text/tetex-2
	>=media-libs/libpng-1.2.1
	>=sys-libs/zlib-1.1.4
	!>=app-text/tetex-2
	!app-text/ptex
	!app-text/cstetex
	virtual/tetex"

S=${WORKDIR}/${PN}

src_compile() {
	econf || die
	emake || die
}

src_install () {
	einstall || die

	dodoc AUTHORS ChangeLog Credits INSTALL* NEWS OBTAINING README* TODO

	cp latex-support/dvipdfm.def ${D}/usr/share/doc/${P}/
	cp -pPR doc ${D}/usr/share/doc/${P}/manual
	cp -pPR latex-support ${D}/usr/share/doc/${P}
	dodoc ${FILESDIR}/README.Gentoo
}

pkg_postinst() {
	zcat /usr/share/doc/${P}/README.Gentoo.gz
}