Makefile 740 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.4 2015/03/31 09:45:12 ajacoutot Exp $
  2. COMMENT= extra chinese fonts
  3. DISTNAME= zh-fonts-kc-1.05
  4. REVISION= 2
  5. CATEGORIES= fonts chinese x11
  6. PERMIT_PACKAGE_CDROM= Yes
  7. MASTER_SITES= http://cle.linux.org.tw/fonts/bitmap/KCFONTS/
  8. DIST_SUBDIR= zh-kcfonts
  9. DISTFILES= ${FONTS}
  10. CONFIGURE_STYLE= imake
  11. EXTRACT_ONLY=
  12. NO_BUILD= Yes
  13. NO_TEST= Yes
  14. PKG_ARCH= *
  15. FONTS= kc8x15.pcf.gz kc12x24.pcf.gz kc15f.pcf.gz kc24f.pcf.gz
  16. FONTDIR= ${PREFIX}/share/fonts/chinese
  17. post-extract:
  18. @mkdir -p ${WRKDIST}
  19. @cp ${FILESDIR}/Imakefile ${FILESDIR}/kc.alias ${WRKDIST}
  20. @for i in ${FONTS} ; do cp $(FULLDISTDIR)/$$i ${WRKDIST}; done
  21. post-install:
  22. @cd ${FONTDIR} && mv fonts.alias fonts.alias-kc
  23. .include <bsd.port.mk>