diff options
author | knu <knu@FreeBSD.org> | 2000-12-21 05:14:31 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-12-21 05:14:31 +0800 |
commit | 10a67d228edc0e93b653faa83d0bdf794350d528 (patch) | |
tree | 68afd87d61fbe87093cafd0c0ca791c887935fd3 /japanese/namazu2 | |
parent | bc9056c18a83255cca53c58915069af10f6bb1a6 (diff) | |
download | freebsd-ports-gnome-10a67d228edc0e93b653faa83d0bdf794350d528.tar.gz freebsd-ports-gnome-10a67d228edc0e93b653faa83d0bdf794350d528.tar.zst freebsd-ports-gnome-10a67d228edc0e93b653faa83d0bdf794350d528.zip |
Get the WITH_CHASEN knob really working.
Add wvWare dependency and add a WITHOUT_MSOFFICE knob.
Diffstat (limited to 'japanese/namazu2')
-rw-r--r-- | japanese/namazu2/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/japanese/namazu2/Makefile b/japanese/namazu2/Makefile index a9b8109b8acb..1d4e89b28c66 100644 --- a/japanese/namazu2/Makefile +++ b/japanese/namazu2/Makefile @@ -15,12 +15,12 @@ MAINTAINER= knu@FreeBSD.org LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext BUILD_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic \ - ${PM_BASE}/${PERL_ARCH}/Text/Kakasi.pm:${PORTSDIR}/japanese/p5-Text-Kakasi \ - ${PM_BASE}/${PERL_ARCH}/NKF.pm:${PORTSDIR}/japanese/p5-nkf + ${PM_BASE}/${PERL_ARCH}/NKF.pm:${PORTSDIR}/japanese/p5-nkf \ + ${DEPEND_WAKATI} RUN_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic \ - ${PM_BASE}/${PERL_ARCH}/Text/Kakasi.pm:${PORTSDIR}/japanese/p5-Text-Kakasi \ ${PM_BASE}/${PERL_ARCH}/NKF.pm:${PORTSDIR}/japanese/p5-nkf \ - xlHtml:${PORTSDIR}/textproc/xlhtml + ${DEPEND_WAKATI} \ + ${DEPEND_MSOFFICE} PM_BASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} @@ -31,9 +31,14 @@ MAN1= namazu.1 mknmz.1 INSTALLS_SHLIB= yes .if defined(WITH_CHASEN) -DEPENDS= +DEPEND_WAKATI= ${PM_BASE}/${PERL_ARCH}/Text/ChaSen.pm:${PORTSDIR}/japanese/chasen .else +DEPEND_WAKATI= ${PM_BASE}/${PERL_ARCH}/Text/Kakasi.pm:${PORTSDIR}/japanese/p5-Text-Kakasi +.endif +.if !defined(WITHOUT_MSOFFICE) +DEPEND_MSOFFICE= xlHtml:${PORTSDIR}/textproc/xlhtml \ + wvHtml:${PORTSDIR}/textproc/wv .endif post-install: |