Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # $OpenBSD: Makefile,v 1.11 2016/04/24 15:44:32 sthen Exp $
  2. COMMENT = fixed width fonts especially for long hacking sessions
  3. DISTNAME = terminus-font-4.40
  4. REVISION = 0
  5. CATEGORIES = fonts x11
  6. HOMEPAGE = http://terminus-font.sourceforge.net/
  7. MAINTAINER = LEVAI Daniel <leva@ecentrum.hu>
  8. # OFL http://scripts.sil.org/OFL
  9. PERMIT_PACKAGE_CDROM = Yes
  10. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=terminus-font/}
  11. CONFIGURE_STYLE = simple
  12. NO_TEST = Yes
  13. USE_X11 = Yes
  14. ALL_TARGET = pcf
  15. FONTDIR = ${PREFIX}/share/fonts/terminus
  16. USE_GMAKE = Yes
  17. FLAVORS = symquotes centered_tilde
  18. FLAVOR ?=
  19. .if ${FLAVOR:Mcentered_tilde}
  20. FLAVOR_PATCHES += ${WRKSRC}/alt/td1.diff
  21. .endif
  22. .if ${FLAVOR:Msymquotes}
  23. FLAVOR_PATCHES += ${WRKSRC}/alt/gq2.diff
  24. .endif
  25. PATCH_LIST = patch-* ${FLAVOR_PATCHES}
  26. do-install:
  27. ${GZIP_CMD} ${WRKSRC}/*.pcf
  28. ${X11BASE}/bin/mkfontdir ${WRKSRC}
  29. egrep '\.pcf\.gz' ${WRKSRC}/fonts.dir | \
  30. sed 's/\.pcf\.gz//g' > ${WRKSRC}/fonts.alias
  31. ${INSTALL_DATA_DIR} ${FONTDIR}
  32. ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${FONTDIR}
  33. ${INSTALL_DATA} ${WRKBUILD}/fonts.alias ${FONTDIR}/fonts.alias-terminus
  34. .include <bsd.port.mk>