dpic-20160712.ebuild 711 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. DESCRIPTION="Converts PIC plots into pstricks, PGF/TikZ, PostScript, MetaPost and TeX"
  5. HOMEPAGE="https://ece.uwaterloo.ca/~aplevich/dpic"
  6. SRC_URI="https://ece.uwaterloo.ca/~aplevich/dpic/${PN}-2016.07.12.tar.gz"
  7. # dpic: BSD-2, dpicdoc.pdf: CC-BY-3.0, p2c: GPL
  8. LICENSE="BSD-2 CC-BY-3.0 GPL-2+"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE="examples"
  12. DEPEND=""
  13. RDEPEND=""
  14. S="${WORKDIR}/${PN}-2016.07.12"
  15. DOCS=( README doc/dpicdoc.pdf )
  16. src_install () {
  17. dobin "${PN}"
  18. doman "doc/${PN}.1"
  19. einstalldocs
  20. if use examples; then
  21. dodoc -r examples
  22. docompress -x /usr/share/doc/${PF}/examples
  23. fi
  24. }