openbsd-ports/chinese/kcfonts/Makefile

40 lines
929 B
Makefile
Raw Normal View History

2002-05-13 14:50:36 -04:00
# $OpenBSD: Makefile,v 1.7 2002/05/13 18:50:37 espie Exp $
2001-03-25 22:49:10 -05:00
COMMENT= "extra chinese fonts"
DISTNAME= zh-fonts-kc-1.05
CATEGORIES= chinese x11
2002-03-21 15:46:23 -05:00
NEED_VERSION= 1.515
DIST_SUBDIR= zh-kcfonts
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
2002-05-13 14:50:36 -04:00
MASTER_SITES= ftp://ftp.nsysu.edu.tw/Linux/packages/chinese/fonts/KCFONTS/ \
ftp://ftp.shellhung.org/pub/OpenBSD/packages/chinese/KCFONTS/
DISTFILES= ${FONTS}
CONFIGURE_STYLE= imake
EXTRACT_ONLY=
NO_BUILD= Yes
FONTS= kc8x15.pcf.gz kc12x24.pcf.gz kc15f.pcf.gz kc24f.pcf.gz
FONTDIR= ${PREFIX}/lib/X11/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>