diff options
author | pav <pav@FreeBSD.org> | 2004-04-17 14:41:07 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-04-17 14:41:07 +0000 |
commit | 1d6c5488ed88f04fa285d1645d333eb858a28a19 (patch) | |
tree | 9da378774cc27151cbf83e6e97304c771b568857 | |
parent | f5aef50cfd7a3e91260e8c714ea369f10f0f833d (diff) | |
download | FreeBSD-ports-1d6c5488ed88f04fa285d1645d333eb858a28a19.zip FreeBSD-ports-1d6c5488ed88f04fa285d1645d333eb858a28a19.tar.gz |
Add zope-ejsplitter, a word splitter for Japanese. It allows to search
a Zope based website for a word in language that don't use spaces
to delimit words.
PR: ports/65293
Submitted by: HAYASHI Yasushi <yasi@yasi.to>
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/zope-ejsplitter/Makefile | 56 | ||||
-rw-r--r-- | japanese/zope-ejsplitter/distinfo | 2 | ||||
-rw-r--r-- | japanese/zope-ejsplitter/pkg-descr | 9 | ||||
-rw-r--r-- | japanese/zope-ejsplitter/pkg-message | 3 |
5 files changed, 71 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index 8fd7d15..5f1c325 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -434,5 +434,6 @@ SUBDIR += yc.el SUBDIR += zangband SUBDIR += zipcodes + SUBDIR += zope-ejsplitter .include <bsd.port.subdir.mk> diff --git a/japanese/zope-ejsplitter/Makefile b/japanese/zope-ejsplitter/Makefile new file mode 100644 index 0000000..cc0a902 --- /dev/null +++ b/japanese/zope-ejsplitter/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: zope-ejSplitter +# Date created: 20 March 2004 +# Whom: Yasushi Hayashi +# +# $FreeBSD$ +# + +PORTNAME= ejSplitter +PORTVERSION= 0.4.0 +CATEGORIES= japanese www zope +MASTER_SITES= http://www005.upp.so-net.ne.jp/nakagami/Download/ + +MAINTAINER= yasi@yasi.to +COMMENT= A Japanese word splitter for searching text in Zope Products + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/japanese.pth:${PORTSDIR}/japanese/pycodec +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/japanese.pth:${PORTSDIR}/japanese/pycodec + +USE_PYTHON= yes +USE_ZOPE= yes +DIST_SUBDIR= zope + +ZOPEPRODUCTNAME= ${PORTNAME} + +PLIST= ${WRKDIR}/pkg-plist +WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME} + +.include <bsd.port.pre.mk> + +PKGNAMEPREFIX:= ${PKGNAMEPREFIX}zope- + +do-build: + -@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/ + +pre-install: + @${RM} -f ${PLIST} + @${TOUCH} ${PLIST} + @cd ${WRKDIR} ;\ + for f in `${FIND} ${ZOPEPRODUCTNAME} -type f`; do \ + ${ECHO_CMD} %%ZOPEPRODUCTDIR%%/$${f} >> ${PLIST}; \ + done; \ + for d in `${FIND} -d ${ZOPEPRODUCTNAME} -type d`; do \ + ${ECHO_CMD} @dirrm %%ZOPEPRODUCTDIR%%/$${d} >> ${PLIST}; \ + done; \ + +do-install: + @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ + @${CHMOD} -R og+rX ${WRKSRC}/ + @${CP} -R ${WRKSRC} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ + +post-install: +.if !defined(BATCH) + @${CAT} ${PKGMESSAGE} +.endif + +.include <bsd.port.post.mk> diff --git a/japanese/zope-ejsplitter/distinfo b/japanese/zope-ejsplitter/distinfo new file mode 100644 index 0000000..110a446 --- /dev/null +++ b/japanese/zope-ejsplitter/distinfo @@ -0,0 +1,2 @@ +MD5 (zope/ejSplitter-0.4.0.tar.gz) = d9f02b9b9e15954c67b8f5e4e3dfec68 +SIZE (zope/ejSplitter-0.4.0.tar.gz) = 2955 diff --git a/japanese/zope-ejsplitter/pkg-descr b/japanese/zope-ejsplitter/pkg-descr new file mode 100644 index 0000000..37ca02a --- /dev/null +++ b/japanese/zope-ejsplitter/pkg-descr @@ -0,0 +1,9 @@ +Zope needs a word splitter to search in text with ZCTextIndex. +This ejSplitter is one of Japanese splitters. +You can use it with other Zope product, i.e. COREBlog (www/zope-coreblog), +when you want to search Japanese text in your site. + +WWW: http://www005.upp.so-net.ne.jp/nakagami/tips/ZCTextIndex.html + +-- Yasushi Hayashi +yasi@yasi.to diff --git a/japanese/zope-ejsplitter/pkg-message b/japanese/zope-ejsplitter/pkg-message new file mode 100644 index 0000000..d846595 --- /dev/null +++ b/japanese/zope-ejsplitter/pkg-message @@ -0,0 +1,3 @@ +To complete the installation of ejSplitter + +- Restart Zope. This may be done from the Zope Control Panel. |