diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-10-21 20:27:13 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-10-21 20:27:13 +0000 |
commit | ea5a85ae6d95de5f42227bafd5f3e6181b36546e (patch) | |
tree | c1e1bd419f47710e515a407fb812b8bf4b7ff9f1 /databases/namazu2 | |
parent | eb43a4a1afdcfc643bdee5c47ce8a9d29b01f4c2 (diff) | |
download | ports-ea5a85ae6d95de5f42227bafd5f3e6181b36546e.tar.gz ports-ea5a85ae6d95de5f42227bafd5f3e6181b36546e.zip |
Notes
Diffstat (limited to 'databases/namazu2')
-rw-r--r-- | databases/namazu2/Makefile | 16 | ||||
-rw-r--r-- | databases/namazu2/files/patch-pl::conf.pl.in | 33 |
2 files changed, 36 insertions, 13 deletions
diff --git a/databases/namazu2/Makefile b/databases/namazu2/Makefile index 554e516e14ac..66d10327bf3d 100644 --- a/databases/namazu2/Makefile +++ b/databases/namazu2/Makefile @@ -8,19 +8,15 @@ PORTNAME= namazu PORTVERSION= 2.0.7 PORTREVISION= 1 -CATEGORIES= japanese databases www textproc +CATEGORIES+= databases www textproc MASTER_SITES= http://www.namazu.org/stable/ PKGNAMESUFFIX= 2 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}/NKF.pm:${PORTSDIR}/japanese/p5-nkf \ - ${DEPEND_WAKATI} -RUN_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic \ - ${PM_BASE}/${PERL_ARCH}/NKF.pm:${PORTSDIR}/japanese/p5-nkf \ - ${DEPEND_WAKATI} +BUILD_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic +RUN_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic # xlHtml:${PORTSDIR}/textproc/xlhtml \ # wvHtml:${PORTSDIR}/textproc/wv @@ -32,12 +28,6 @@ GNU_CONFIGURE= yes MAN1= namazu.1 mknmz.1 INSTALLS_SHLIB= yes -.if defined(WITH_CHASEN) -DEPEND_WAKATI= ${PM_BASE}/${PERL_ARCH}/Text/ChaSen.pm:${PORTSDIR}/japanese/p5-Text-ChaSen -.else -DEPEND_WAKATI= ${PM_BASE}/${PERL_ARCH}/Text/Kakasi.pm:${PORTSDIR}/japanese/p5-Text-Kakasi -.endif - post-configure: ${PERL} -i~ -pe 's,^(LIBS *= *)(.*),$$1 -L${LOCALBASE}/lib -lintl $$2\n,' ${WRKSRC}/nmz/Makefile diff --git a/databases/namazu2/files/patch-pl::conf.pl.in b/databases/namazu2/files/patch-pl::conf.pl.in new file mode 100644 index 000000000000..ba8df87e1b62 --- /dev/null +++ b/databases/namazu2/files/patch-pl::conf.pl.in @@ -0,0 +1,33 @@ +--- pl/conf.pl.in.orig Thu Aug 23 17:19:52 2001 ++++ pl/conf.pl.in Sat Oct 13 05:34:48 2001 +@@ -173,17 +173,17 @@ + # + # Network Kanji Filter nkf v1.62 or later + # +-$NKF = "@NKF@"; ++$NKF = "module_nkf"; + + # + # KAKASI + # +-$KAKASI = "@DO_KAKASI@"; ++$KAKASI = "module_kakasi"; + + # + # ChaSen 1.51 or later (simple wakatigaki) + # +-$CHASEN = "@DO_CHASEN@"; ++$CHASEN = "module_chasen"; + + # + # ChaSen 1.51 or later (with noun words extraction) +@@ -193,7 +193,8 @@ + # + # Default Japanese processer: KAKASI or ChaSen. + # +-$WAKATI = $@OPT_WAKATI_DEFAULT@; ++$WAKATI = $KAKASI; ++$WAKATI = $CHASEN; + + + #=================================================================== |