mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
541de61a51
- Mark for perl 5.8.0 and higher only due to its dependency on japanese/mecab PR: 101092 Submitted by: KIMURA Yasuhiro <yasu@utahime.org>
41 lines
871 B
Makefile
41 lines
871 B
Makefile
# New ports collection makefile for: p5-MeCab
|
|
# Date created: 23 April 2003
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= MeCab
|
|
PORTVERSION= 0.93
|
|
CATEGORIES= japanese textproc perl5
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:L}/${SUB_DIR}
|
|
DISTNAME= ${PORTNAME:L}-perl-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= MeCab library module for Perl5
|
|
|
|
LIB_DEPENDS= mecab.1:${PORTSDIR}/japanese/mecab
|
|
|
|
PERL_CONFIGURE= yes
|
|
SUB_DIR= 21189
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500800
|
|
IGNORE= requires perl 5.8.x or later. Install lang/perl5.8 and try again
|
|
.endif
|
|
|
|
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
|
|
|
|
post-patch:
|
|
${RM} ${WRKSRC}/test2.pl
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/test.pl ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|