Date: Fri, 8 Dec 2006 14:13:21 +0900 (JST) From: Jun MUKAI <mukai@jmuk.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/106467: [patch] hyperestraier with mecab functionality Message-ID: <20061208051321.50D4343DED@ceylon.jmuk.org> Resent-Message-ID: <200612080520.kB85K9Zh041091@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 106467 >Category: ports >Synopsis: [patch] hyperestraier with mecab functionality >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 08 05:20:04 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jun MUKAI >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: nothing >Environment: System: FreeBSD ceylon.jmuk.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Fri Sep 29 16:51:39 JST 2006 root@ceylon.jmuk.org:/usr/obj/usr/src/sys/DEDI i386 >Description: Hyper Estraier is a full text search system already in use. Although it supports mecab with configure arg --enable-mecab, this functionality cannot be activated in the current port. The following patch enables this. >How-To-Repeat: >Fix: --- hyperestraier.orig/Makefile Fri Dec 8 14:07:19 2006 +++ hyperestraier/Makefile Fri Dec 8 13:59:24 2006 @@ -28,6 +28,13 @@ MAN1= estcall.1 estcmd.1 estconfig.1 estmaster.1 estwaver.1 MAN3= estnode.3 estraier.3 +.if defined(WITH_MECAB) +CONFIGURE_ARGS+= -enable-mecab +LIB_DEPENDS+= mecab.1:${PORTSDIR}/japanese/mecab +RUN_DEPENDS+= ${LOCALBASE}/lib/mecab/dic/ipadic/matrix.bin:${PORTSDIR}/japanese/mecab-ipadic +.else +.endif + post-patch: @${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061208051321.50D4343DED>