freebsd-ports/japanese/p5-MeCab/Makefile
Baptiste Daroussin 4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00

35 lines
765 B
Makefile

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= MeCab
PORTVERSION= 0.996
CATEGORIES= japanese textproc perl5
MASTER_SITES= GOOGLE_CODE
PROJECTHOST= ${PORTNAME:tl}
DISTNAME= ${PORTNAME:tl}-perl-${PORTVERSION}
MAINTAINER= perl@FreeBSD.org
COMMENT= MeCab library module for Perl5
LICENSE= BSD GPLv2 LGPL21
LICENSE_COMB= dual
LIB_DEPENDS= libmecab.so:${PORTSDIR}/japanese/mecab
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= EXAMPLES
OPTIONSFILE= ${PORT_DBDIR}/ja-p5-${PORTNAME}/options
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
.if ${PORT_OPTIONS:MEXAMPLES}
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test.pl ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>