blob: 6099d89cb4a04a05069e04f5bf089b52dcee1ee3 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/dpic/dpic-20130310.ebuild,v 1.1 2013/05/17 16:37:11 aballier Exp $
EAPI=5
inherit toolchain-funcs
DESCRIPTION="Converts PIC plots into pstricks, PGF/TikZ, PostScript, MetaPost and TeX"
HOMEPAGE="http://ece.uwaterloo.ca/~aplevich/dpic"
SRC_URI="https://ece.uwaterloo.ca/~aplevich/dpic/${PN}-2013.03.10.tar.gz"
LICENSE="BSD-2 CC-BY-3.0 GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
DEPEND=""
RDEPEND=""
S="${WORKDIR}/${PN}"
src_compile () {
emake CC="$(tc-getCC)"
}
src_install () {
dobin dpic
doman doc/dpic.1
dodoc README CHANGES doc/dpicdoc.pdf doc/gpic.pdf
if use examples; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
}
|