openbsd-ports/chinese/kcfonts/Makefile

40 lines
889 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.11 2007/06/06 12:47:56 ajacoutot Exp $
2001-03-25 22:49:10 -05:00
COMMENT= "extra chinese fonts"
DISTNAME= zh-fonts-kc-1.05
CATEGORIES= chinese x11
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
2004-06-28 10:16:56 -04:00
MASTER_SITES= ftp://ftp.tku.edu.tw/OS/Linux/packages/chinese/fonts/KCFONTS/
2002-10-24 19:52:29 -04:00
DIST_SUBDIR= zh-kcfonts
DISTFILES= ${FONTS}
CONFIGURE_STYLE= imake
EXTRACT_ONLY=
NO_BUILD= Yes
2002-10-24 19:52:29 -04:00
NO_REGRESS= Yes
USE_X11= Yes
2004-02-03 02:28:12 -05:00
PKG_ARCH= *
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>