ports/65293: New Ports: ja-zope-ejSplitter : A Japanese words splitter for Zope

HAYASHI Yasushi yasi at yasi.to
Wed Apr 7 16:01:56 UTC 2004


>Number:         65293
>Category:       ports
>Synopsis:       New Ports: ja-zope-ejSplitter : A Japanese words splitter for Zope
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 07 09:00:42 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     HAYASHI Yasushi
>Release:        FreeBSD 5.2.1-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD yasi.minidns.net 5.2.1-RELEASE-p4 FreeBSD 5.2.1-RELEASE-p4 #11: Fri Apr 2 10:57:41 JST 2004 root at freebsd.yasi.minidns.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	To search text which isn't space separated language in Zope-based
	web site, word splitter is needed.  Japanese is one of those.
	ejSplitter is word splitter for Japanese, easy to install and use.

>How-To-Repeat:
	
>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	japanese/zope-ejSplitter
#	japanese/zope-ejSplitter/Makefile
#	japanese/zope-ejSplitter/distinfo
#	japanese/zope-ejSplitter/pkg-descr
#	japanese/zope-ejSplitter/pkg-message
#
echo c - japanese/zope-ejSplitter
mkdir -p japanese/zope-ejSplitter > /dev/null 2>&1
echo x - japanese/zope-ejSplitter/Makefile
sed 's/^X//' >japanese/zope-ejSplitter/Makefile << 'END-of-japanese/zope-ejSplitter/Makefile'
X# New ports collection makefile for:	zope-ejSplitter
X# Date created:			20 March 2004
X# Whom:					Yasushi Hayashi
X#
X# $FreeBSD$
X#
X
XPORTNAME=		ejSplitter
XPORTVERSION=	0.4.0
XCATEGORIES=		japanese www zope
XMASTER_SITES=	http://www005.upp.so-net.ne.jp/nakagami/Download/
X#PKGNAMEPREFIX=	zope-
X
XMAINTAINER=		yasi at yasi.to
XCOMMENT=		A Japanese word splitter for searching text in Zope Products
X
XBUILD_DEPENDS=	${PYTHON_SITELIBDIR}/japanese.pth:${PORTSDIR}/japanese/pycodec
XRUN_DEPENDS=	${PYTHON_SITELIBDIR}/japanese.pth:${PORTSDIR}/japanese/pycodec
X
XUSE_PYTHON=		yes
XUSE_ZOPE=		yes
XDIST_SUBDIR=	zope
X
XZOPEPRODUCTNAME=${PORTNAME}
X
XPLIST=		${WRKDIR}/pkg-plist
XWRKSRC=		${WRKDIR}/${ZOPEPRODUCTNAME}
X
X.include <bsd.port.pre.mk>
X
XPKGNAMEPREFIX:= ${PKGNAMEPREFIX}zope-
X
Xdo-build:
X	-@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/
X
Xpre-install:
X	@${RM} -f ${PLIST}
X	@${TOUCH} ${PLIST}
X	@cd ${WRKDIR} ;\
X	for f in `${FIND} ${ZOPEPRODUCTNAME} -type f`; do \
X		${ECHO_CMD} %%ZOPEPRODUCTDIR%%/$${f} >> ${PLIST}; \
X	done; \
X	for d in `${FIND} -d ${ZOPEPRODUCTNAME} -type d`; do \
X		${ECHO_CMD} @dirrm %%ZOPEPRODUCTDIR%%/$${d} >> ${PLIST}; \
X	done; \
X
Xdo-install:
X	@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
X	@${CHMOD} -R og+rX ${WRKSRC}/
X	@${CP} -R ${WRKSRC} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
X
Xpost-install:
X.if !defined(BATCH)
X	@${CAT} ${PKGMESSAGE}
X.endif
X
X.include <bsd.port.post.mk>
END-of-japanese/zope-ejSplitter/Makefile
echo x - japanese/zope-ejSplitter/distinfo
sed 's/^X//' >japanese/zope-ejSplitter/distinfo << 'END-of-japanese/zope-ejSplitter/distinfo'
XMD5 (zope/ejSplitter-0.4.0.tar.gz) = d9f02b9b9e15954c67b8f5e4e3dfec68
XSIZE (zope/ejSplitter-0.4.0.tar.gz) = 2955
END-of-japanese/zope-ejSplitter/distinfo
echo x - japanese/zope-ejSplitter/pkg-descr
sed 's/^X//' >japanese/zope-ejSplitter/pkg-descr << 'END-of-japanese/zope-ejSplitter/pkg-descr'
XZope needs a word splitter to search in text with ZCTextIndex.
XThis ejSplitter is one of Japanese splitters.
XYou can use it with other Zope product, i.e. COREBlog (www/zope-coreblog),
Xwhen you want to search Japanese text in your site.
X
XWWW: http://www005.upp.so-net.ne.jp/nakagami/tips/ZCTextIndex.html
X
X-- Yasushi Hayashi
Xyasi at yasi.to
END-of-japanese/zope-ejSplitter/pkg-descr
echo x - japanese/zope-ejSplitter/pkg-message
sed 's/^X//' >japanese/zope-ejSplitter/pkg-message << 'END-of-japanese/zope-ejSplitter/pkg-message'
XTo complete the installation of ejSplitter
X
X- Restart Zope.  This may be done from the Zope Control Panel.
END-of-japanese/zope-ejSplitter/pkg-message
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list