# New ports collection makefile for:	p5-MeCab
# Date created:		23 April 2003
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD: ports/japanese/p5-MeCab/Makefile,v 1.19 2011/09/17 06:49:08 sunpoet Exp $
#

PORTNAME=	MeCab
PORTVERSION=	0.98
CATEGORIES=	japanese textproc perl5
MASTER_SITES=		SF/${PORTNAME:L}/${PORTNAME:L}-perl/${PORTVERSION}
DISTNAME=		${PORTNAME:L}-perl-${PORTVERSION}

MAINTAINER=	clsung@FreeBSD.org
COMMENT=	MeCab library module for Perl5

LIB_DEPENDS=	mecab.1:${PORTSDIR}/japanese/mecab

PERL_CONFIGURE=	yes

.include <bsd.port.pre.mk>

PKGNAMEPREFIX:=	${PKGNAMEPREFIX}p5-

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/test.pl ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>
