summaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2006-05-01 15:13:35 +0000
committernork <nork@FreeBSD.org>2006-05-01 15:13:35 +0000
commite979fa6297dae6f544b3057c5962c22625a6ae88 (patch)
tree0a7059edcb32af8b40dfc5275719b297b7cd4f50 /japanese
parentd429aaf5858d0eac0acafd5341cd282100247696 (diff)
downloadFreeBSD-ports-e979fa6297dae6f544b3057c5962c22625a6ae88.zip
FreeBSD-ports-e979fa6297dae6f544b3057c5962c22625a6ae88.tar.gz
o Add support MeCab.
o Portlint happy. o Bump PORTREVISION, accordingly. PR: ports/96588 Submitted by: Fumihiko Kimura <jfkimura@yahoo.co.jp>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/namazu2/Makefile13
-rw-r--r--japanese/namazu2/pkg-plist1
2 files changed, 8 insertions, 6 deletions
diff --git a/japanese/namazu2/Makefile b/japanese/namazu2/Makefile
index 0937c28..9650767 100644
--- a/japanese/namazu2/Makefile
+++ b/japanese/namazu2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= namazu
PORTVERSION= 2.0.16
+PORTREVISION= 1
CATEGORIES= japanese databases www textproc
MASTER_SITES= # empty
PKGNAMESUFFIX= 2
@@ -17,15 +18,17 @@ 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}/${PERL_ARCH}/Text/${MODULE_NAME}.pm:${PORTSDIR}/japanese/p5-Text-${MODULE_NAME}
+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)
-MODULE_NAME= ChaSen
+.if defined(WITH_MECAB)
+RUN_DEPENDS+= ${PM_BASE}/${PERL_ARCH}/MeCab.pm:${PORTSDIR}/japanese/p5-MeCab
+.elif defined(WITH_CHASEN)
+RUN_DEPENDS+= ${PM_BASE}/${PERL_ARCH}/Text/ChaSen.pm:${PORTSDIR}/japanese/p5-Text-ChaSen
.else
-MODULE_NAME= Kakasi
+RUN_DEPENDS+= ${PM_BASE}/${PERL_ARCH}/Text/Kakasi.pm:${PORTSDIR}/japanese/p5-Text-Kakasi
.endif
NO_BUILD= yes
diff --git a/japanese/namazu2/pkg-plist b/japanese/namazu2/pkg-plist
deleted file mode 100644
index 6df6848..0000000
--- a/japanese/namazu2/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-@comment this plist is intentionally left empty
OpenPOWER on IntegriCloud