# New ports collection makefile for:   cmexfonts
# Date created:                10 Mar 2001
# Whom:                        Shen Chuan-Hsing
#
# $FreeBSD: ports/chinese/cmexfonts/Makefile,v 1.3 2003/02/21 11:06:27 knu Exp $
#

PORTNAME=	cmexfonts
PORTVERSION=	0.1
CATEGORIES=	chinese x11-fonts
MASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/statue/cmexfonts/ \
		ftp://sunsite.unc.edu/pub/Linux/X11/fonts/

MAINTAINER=	statue@freebsd.sinica.edu.tw
COMMENT=	Big5+ Chinese Mingti bitmap font (by CMEX & DynaLab) for X11

USE_X_PREFIX=	yes
NO_BUILD=	yes

.include <bsd.port.pre.mk>

.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS=	bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
RUN_DEPENDS=	mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.endif

WRKSRC=		${WRKDIR}/cmexfonts

post-install:
	@${SETENV} ${INSTALL_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.post.mk>
