povtree-1.5-r1.ebuild 767 B

1234567891011121314151617181920212223242526272829
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. S="${WORKDIR}"
  5. MY_P="${PN}${PV}"
  6. DESCRIPTION="Tree generator for POVray based on TOMTREE macro"
  7. HOMEPAGE="http://propro.ru/go/Wshop/povtree/povtree.html"
  8. SRC_URI="http://propro.ru/go/Wshop/povtree/${MY_P}.zip"
  9. # Free for non-commercial use, according to e-mail from authors #446168
  10. LICENSE="free-noncomm"
  11. SLOT="0"
  12. KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
  13. RDEPEND=">=virtual/jre-1.3"
  14. DEPEND="app-arch/unzip"
  15. src_install() {
  16. # wrapper
  17. sed "s:/usr/:${EPREFIX}&:" "${FILESDIR}"/povtree > "${T}"/povtree || die
  18. dobin "${T}"/povtree
  19. # package
  20. insinto /usr/lib/povtree
  21. doins povtree.jar
  22. dodoc TOMTREE-${PV}.inc help.jpg
  23. }