Makefile 896 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.6 2016/08/03 13:21:13 benoit Exp $
  2. COMMENT = monospace bitmap font for programming and terminal use
  3. PKG_ARCH = *
  4. DISTNAME = gohufont-2.1
  5. CATEGORIES = fonts x11
  6. MAINTAINER = Tobias Ulmer <tobiasu@tmux.org>
  7. HOMEPAGE = http://font.gohu.eu
  8. MASTER_SITES = ${HOMEPAGE}/
  9. # WTFPLv2
  10. PERMIT_PACKAGE_CDROM = Yes
  11. NO_BUILD = Yes
  12. NO_TEST = Yes
  13. FONTDIR = ${PREFIX}/share/fonts/gohufont
  14. USE_X11 = Yes
  15. do-install:
  16. ${X11BASE}/bin/mkfontdir ${WRKSRC}
  17. egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
  18. grep '\-gohufont-' | \
  19. sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias
  20. ${INSTALL_DATA_DIR} ${FONTDIR}
  21. ${INSTALL_DATA} ${WRKDIST}/*.pcf.gz ${FONTDIR}
  22. ${INSTALL_DATA} ${WRKBUILD}/fonts.alias ${FONTDIR}/fonts.alias-gohufont
  23. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gohufont
  24. ${INSTALL_DATA} ${WRKDIST}/{COPYING-LICENSE,README.md} \
  25. ${PREFIX}/share/doc/gohufont
  26. .include <bsd.port.mk>