tkman-2.2-r1.ebuild 754 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils
  5. DESCRIPTION="TkMan man and info page browser"
  6. HOMEPAGE="http://tkman.sourceforge.net/"
  7. SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
  8. LICENSE="Artistic"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ppc sparc x86"
  11. IUSE=""
  12. DEPEND="
  13. >=app-text/rman-3.1
  14. >=dev-lang/tcl-8.4:0
  15. >=dev-lang/tk-8.4:0
  16. "
  17. RDEPEND="${DEPEND}"
  18. src_prepare() {
  19. epatch \
  20. "${FILESDIR}"/${PN}-2.2-gentoo.diff \
  21. "${FILESDIR}"/${PN}-CVE-2008-5137.diff #bug 247540
  22. }
  23. src_install() {
  24. local DOCS=( ANNOUNCE-tkman.txt CHANGES README-tkman )
  25. local HTML_DOCS=( manual.html )
  26. dodir /usr/bin
  27. default
  28. doicon contrib/TkMan.gif
  29. domenu "${FILESDIR}"/tkman.desktop
  30. }