summaryrefslogtreecommitdiff
blob: d6e687479ec5f41f6b14fb2535a7f5492bfa6095 (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="UTF-8 to postscript converter"
HOMEPAGE="http://www.pps.jussieu.fr/~jch/software/cedilla/"
SRC_URI="http://www.pps.jussieu.fr/~jch/software/files/${P}.tar.gz"

KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="GPL-2"

DEPEND="dev-lisp/clisp"
RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}"/cedilla-gentoo-r1.patch )

src_compile() {
	./compile-cedilla || die "Compile failed."
}

src_install() {
	sed "s#${ED%/}##g" -i cedilla || die "sed failed"
	dodir /usr/share/man/man1/

	./install-cedilla || die "Install failed."

	einstalldocs
}