x11fonts-jmk-3.0-r1.ebuild 758 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. inherit eutils
  4. MY_P=jmk-x11-fonts-${PV}
  5. S=${WORKDIR}/${MY_P}
  6. DESCRIPTION="This package contains character-cell fonts for use with X"
  7. SRC_URI="http://www.pobox.com/~jmknoble/fonts/${MY_P}.tar.gz"
  8. HOMEPAGE="http://www.jmknoble.net/fonts/"
  9. LICENSE="GPL-2"
  10. SLOT="0"
  11. KEYWORDS="alpha amd64 arm ia64 ppc s390 sh sparc x86 ~x86-fbsd"
  12. IUSE=""
  13. DEPEND="x11-misc/imake
  14. x11-apps/mkfontdir
  15. x11-apps/bdftopcf"
  16. RDEPEND=""
  17. FONTPATH="/usr/share/fonts/jmk"
  18. src_unpack() {
  19. unpack ${A}
  20. cd ${S}
  21. epatch ${FILESDIR}/gzip.patch
  22. }
  23. src_compile() {
  24. xmkmf || die
  25. emake || die
  26. }
  27. src_install() {
  28. make install INSTALL_DIR="${D}${FONTPATH}" || die
  29. dodoc README NEWS
  30. }