PORTNAME=	CJKUnifonts
PORTVERSION=	0.2.20080216.1
PORTREVISION=	4
CATEGORIES=	chinese x11-fonts
MASTER_SITES=	LOCAL/chinsan/fonts/:uming \
		LOCAL/chinsan/fonts/:ukai
DISTFILES=	ttf-arphic-uming_${PORTVERSION}.orig.tar.gz:uming \
		ttf-arphic-ukai_${PORTVERSION}.orig.tar.gz:ukai

MAINTAINER=	ports@FreeBSD.org
COMMENT=	CJKUnifonts TrueType Font is a combine of Arphic Ming and Kai fonts
WWW=		https://www.freedesktop.org/wiki/Software/CJKUnifonts/

DIST_SUBDIR=	${PORTNAME}
NO_WRKSUBDIR=	yes
NO_BUILD=	yes

TTF=		ukai.ttc uming.ttc

do-install:
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
	${INSTALL_DATA} ${WRKSRC}/ukai.ttc ${STAGEDIR}${FONTSDIR}
	${INSTALL_DATA} ${WRKSRC}/uming.ttc ${STAGEDIR}${FONTSDIR}

.include "${.CURDIR}/../ttfm/Makefile.ttf"
.include <bsd.port.mk>
