XDG_DATA_DIR (where Desktop tools will look for by default). discussed with sthen@ and matthieu@ ok sthen@
35 lines
740 B
Makefile
35 lines
740 B
Makefile
# $OpenBSD: Makefile,v 1.4 2015/03/31 09:45:12 ajacoutot Exp $
|
|
|
|
COMMENT= extra chinese fonts
|
|
|
|
DISTNAME= zh-fonts-kc-1.05
|
|
REVISION= 2
|
|
CATEGORIES= fonts chinese x11
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= http://cle.linux.org.tw/fonts/bitmap/KCFONTS/
|
|
DIST_SUBDIR= zh-kcfonts
|
|
DISTFILES= ${FONTS}
|
|
|
|
CONFIGURE_STYLE= imake
|
|
|
|
EXTRACT_ONLY=
|
|
NO_BUILD= Yes
|
|
NO_TEST= Yes
|
|
PKG_ARCH= *
|
|
|
|
FONTS= kc8x15.pcf.gz kc12x24.pcf.gz kc15f.pcf.gz kc24f.pcf.gz
|
|
|
|
FONTDIR= ${PREFIX}/share/fonts/chinese
|
|
|
|
post-extract:
|
|
@mkdir -p ${WRKDIST}
|
|
@cp ${FILESDIR}/Imakefile ${FILESDIR}/kc.alias ${WRKDIST}
|
|
@for i in ${FONTS} ; do cp $(FULLDISTDIR)/$$i ${WRKDIST}; done
|
|
|
|
post-install:
|
|
@cd ${FONTDIR} && mv fonts.alias fonts.alias-kc
|
|
|
|
.include <bsd.port.mk>
|