# New ports collection makefile for:	p5-Lingua-Han-Utils
# Date created:		2006-09-06
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD: ports/chinese/p5-Lingua-Han-Utils/Makefile,v 1.1 2006/10/04 03:02:08 clsung Exp $
#

PORTNAME=	Lingua-Han-Utils
PORTVERSION=	0.05
CATEGORIES=	chinese perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Lingua
PKGNAMEPREFIX=	p5-

MAINTAINER=	gslin@gslin.org
COMMENT=	The utility tools of Chinese character(HanZi)

PERL_CONFIGURE=	yes

MAN3=		Lingua::Han::Utils.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=		requires Perl 5.6.0 or newer. Install lang/perl5.8 and try again
.endif

.if ${PERL_LEVEL} < 500800
RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Encode/Guess.pm:${PORTSDIR}/converters/p5-Encode
BUILD_DEPENDS=	${RUN_DEPENDS}
.endif

.include <bsd.port.post.mk>
