Makefile 896 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.5 2016/05/15 20:21:23 sthen Exp $
  2. PKG_ARCH= *
  3. COMMENT= patched fonts with symbols for powerline/airline
  4. V= 0.20151211
  5. DISTNAME= powerline-fonts-$V
  6. CATEGORIES= fonts
  7. HOMEPAGE= https://powerline.readthedocs.org/en/latest/
  8. # see wrksrc/README.rst - SIL OFL, Apache 2.0, Ubuntu/DejaVu Font Licenses
  9. PERMIT_PACKAGE_CDROM= Yes
  10. GH_ACCOUNT= powerline
  11. GH_PROJECT= fonts
  12. GH_COMMIT= a44abd0e742ad6e7fd8d8bc4c3cad5155c9f3a92
  13. NO_BUILD= Yes
  14. NO_TEST= Yes
  15. FONTS_DIR= ${PREFIX}/share/fonts/powerline
  16. do-install:
  17. ${INSTALL_DATA_DIR} ${FONTS_DIR} ${DOCS_DIR}
  18. cd ${WRKDIR}/fonts-${GH_COMMIT}; pax -rw [A-Z]* ${FONTS_DIR}
  19. chown -R ${SHAREOWN}:${SHAREGRP} ${FONTS_DIR}
  20. mv ${FONTS_DIR}/Terminus/PCF/* ${FONTS_DIR}/Terminus
  21. rm -rf ${FONTS_DIR}/Terminus/{BDF,PSF}
  22. rmdir ${FONTS_DIR}/Terminus/PCF
  23. rm -f ${FONTS_DIR}/*/fonts.dir ${FONTS_DIR}/*/fonts.scale
  24. .include <bsd.port.mk>