You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
858 B

  1. # Copyright 1999-2021 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=7
  4. inherit toolchain-funcs flag-o-matic
  5. DESCRIPTION="Font utilities for eg manipulating OTF"
  6. HOMEPAGE="https://lcdf.org/type/#typetools"
  7. SRC_URI="https://lcdf.org/type/${P}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
  11. IUSE="+kpathsea"
  12. RDEPEND="kpathsea? ( virtual/tex-base dev-libs/kpathsea:= )"
  13. DEPEND="${RDEPEND}"
  14. BDEPEND="virtual/pkgconfig"
  15. src_configure() {
  16. use kpathsea && has_version 'dev-libs/kpathsea' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
  17. econf $(use_with kpathsea)
  18. }
  19. src_install() {
  20. emake DESTDIR="${D}" install
  21. dodoc NEWS.md README.md ONEWS
  22. }