aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/p5-Lingua-Han-Utils/Makefile
blob: c3f1432017199877219cb65d7b45313a0d2d082c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    p5-Lingua-Han-Utils
# Date created:     2006-09-06
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

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>