freebsd-ports/japanese/namazu2/Makefile
Mark Linimon dc572b07ee Before bsd.port.pre.mk, set either USE_PERL5 or WANT_PERL, depending on
whether the perl dependency is unconditional or conditional.  This will
be needed for the conditional inclusion of bsd.perl.mk.
2007-09-30 04:55:31 +00:00

40 lines
1,017 B
Makefile

# New ports collection makefile for: namazu2
# Date created: 25 February 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= namazu
PORTVERSION= 2.0.16
PORTREVISION= 2
CATEGORIES= japanese databases www textproc
MASTER_SITES= # empty
PKGNAMESUFFIX= 2
DISTFILES= # empty
EXTRACT_ONLY= # empty
MAINTAINER= ports@FreeBSD.org
COMMENT= Meta-port of Namazu and Japanese support modules
LIB_DEPENDS= nmz.7:${PORTSDIR}/databases/namazu2
RUN_DEPENDS= ${PM_BASE}/${PERL_ARCH}/NKF.pm:${PORTSDIR}/japanese/p5-nkf
PM_BASE= ${SITE_PERL}
PLIST= "@comment this plist is intentionally left empty"
.if defined(WITH_CHASEN)
RUN_DEPENDS+= ${PM_BASE}/${PERL_ARCH}/Text/ChaSen.pm:${PORTSDIR}/japanese/p5-Text-ChaSen
.elif defined(WITH_KAKASI)
RUN_DEPENDS+= ${PM_BASE}/${PERL_ARCH}/Text/Kakasi.pm:${PORTSDIR}/japanese/p5-Text-Kakasi
.else
RUN_DEPENDS+= ${PM_BASE}/${PERL_ARCH}/MeCab.pm:${PORTSDIR}/japanese/p5-MeCab
.endif
NO_BUILD= yes
USE_PERL5= yes
do-install:
@${DO_NADA}
.include <bsd.port.mk>