Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # $OpenBSD: Makefile,v 1.6 2015/05/09 22:24:06 juanfra Exp $
  2. COMMENT = Firefox OS typeface
  3. # Version 3.111
  4. # - Removed the technical reports. The license of the reports doesn't permit
  5. # the distribution.
  6. # - Removed the medium style from the otf directory. Fontconfig often uses
  7. # the medium style by default instead of the regular style.
  8. # - Removed the source directory.
  9. DISTNAME = fira-fonts-20140907
  10. REVISION = 1
  11. CATEGORIES = fonts x11
  12. # Alternative homepage http://www.carrois.com/fira-3-1/
  13. HOMEPAGE = https://mozilla.github.io/Fira/
  14. # SIL OPEN FONT LICENSE Version 1.1
  15. PERMIT_PACKAGE_CDROM = Yes
  16. MASTER_SITES = http://download.tuxfamily.org/jod/fonts/fira-fonts/ \
  17. ftp://download.tuxfamily.org/jod/fonts/fira-fonts/
  18. EXTRACT_SUFX = .tar.lz
  19. NO_BUILD = Yes
  20. NO_TEST = Yes
  21. PKG_ARCH = *
  22. DOC_DIR = ${PREFIX}/share/doc/fira-fonts
  23. FONTS_DIR = ${PREFIX}/share/fonts/fira
  24. WEBFONTS_DIR = ${PREFIX}/share/fira-fonts
  25. do-install:
  26. ${INSTALL_DATA_DIR} ${DOC_DIR} ${FONTS_DIR} ${WEBFONTS_DIR}/webfonts
  27. @echo 'This directory contains the web version of the Fira typeface' >\
  28. ${WEBFONTS_DIR}/README
  29. ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOC_DIR}
  30. ${INSTALL_DATA} ${WRKSRC}/otf/* ${FONTS_DIR}
  31. ${INSTALL_DATA} ${WRKSRC}/eot/* ${WEBFONTS_DIR}/webfonts
  32. ${INSTALL_DATA} ${WRKSRC}/woff/* ${WEBFONTS_DIR}/webfonts
  33. ${INSTALL_DATA} ${WRKSRC}/ttf/* ${WEBFONTS_DIR}/webfonts
  34. .include <bsd.port.mk>