From 72aa5ac9ac04fd0540c495f9794f1641a024cef7 Mon Sep 17 00:00:00 2001 From: edwin Date: Thu, 23 Dec 2004 07:24:26 +0000 Subject: [NEW ports] japanese/zope-zmilocalizer a Zope hotfix to translate ZMI into Japanese This port is a Zope (www/zope) hotfix product to translate Zome Management Interface (ZMI) into Japanese. This product requires PlacelessTranslationService (www/zope- placelesstranslationservice) 1.0r8. So, this PR should be commited after PR ports/74065. PR: ports/74067 Submitted by: HAYASHI Yasushi --- japanese/Makefile | 1 + japanese/zope-zmilocalizer/Makefile | 58 ++++++++++++++++++++++++++++++++++ japanese/zope-zmilocalizer/distinfo | 2 ++ japanese/zope-zmilocalizer/pkg-descr | 7 ++++ japanese/zope-zmilocalizer/pkg-message | 4 +++ 5 files changed, 72 insertions(+) create mode 100644 japanese/zope-zmilocalizer/Makefile create mode 100644 japanese/zope-zmilocalizer/distinfo create mode 100644 japanese/zope-zmilocalizer/pkg-descr create mode 100644 japanese/zope-zmilocalizer/pkg-message (limited to 'japanese') diff --git a/japanese/Makefile b/japanese/Makefile index 73f49281864c..786b54ba34d1 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -425,5 +425,6 @@ SUBDIR += zipcodes SUBDIR += zope-ejsplitter SUBDIR += zope-jamailhost + SUBDIR += zope-zmilocalizer .include diff --git a/japanese/zope-zmilocalizer/Makefile b/japanese/zope-zmilocalizer/Makefile new file mode 100644 index 000000000000..17715ca309b5 --- /dev/null +++ b/japanese/zope-zmilocalizer/Makefile @@ -0,0 +1,58 @@ +# New ports collection makefile for: ZMILocalizer +# Date created: 18 November 2004 +# Whom: Yasushi Hayashi +# +# $FreeBSD$ +# + +PORTNAME= ZMILocalizer +PORTVERSION= 0.8a +CATEGORIES= japanese www zope +MASTER_SITES= http://www.zope.co.jp/zj10n/ +DISTNAME= zope10n08a +EXTRACT_SUFX= .tgz + +MAINTAINER= yasi@yasi.to +COMMENT= Hotfix for www/zope to translate ZMI into Japanese + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/japanese.pth:${PORTSDIR}/japanese/pycodec \ + ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/PlacelessTranslationService/__init__.py:${PORTSDIR}/www/zope-placelesstranslationservice + +USE_PYTHON= yes +USE_ZOPE= yes +DIST_SUBDIR= zope + +ZOPEPRODUCTNAME= ${PORTNAME} + +PLIST= ${WRKDIR}/pkg-plist +WRKSRC= ${WRKDIR}/${DISTNAME}/${ZOPEPRODUCTNAME} + +.include + +PKGNAMEPREFIX:= ${PKGNAMEPREFIX}zope- + +do-build: + -@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/ + +pre-install: + @${RM} -f ${PLIST} + @${TOUCH} ${PLIST} + @cd ${WRKDIR}/${DISTNAME} ;\ + 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 diff --git a/japanese/zope-zmilocalizer/distinfo b/japanese/zope-zmilocalizer/distinfo new file mode 100644 index 000000000000..05c15f709fe7 --- /dev/null +++ b/japanese/zope-zmilocalizer/distinfo @@ -0,0 +1,2 @@ +MD5 (zope/zope10n08a.tgz) = b3c572e73f4eefba2bdfda56bc78dd76 +SIZE (zope/zope10n08a.tgz) = 185111 diff --git a/japanese/zope-zmilocalizer/pkg-descr b/japanese/zope-zmilocalizer/pkg-descr new file mode 100644 index 000000000000..26d130c40436 --- /dev/null +++ b/japanese/zope-zmilocalizer/pkg-descr @@ -0,0 +1,7 @@ +This is a hotfix for Zope (www/zope), an object-based web application server. +It translates Zope Management Interface into Japanese. + +WWW: http://www.zope.co.jp/zj10n/ + +-- Yasushi Hayashi +yasi@yasi.to diff --git a/japanese/zope-zmilocalizer/pkg-message b/japanese/zope-zmilocalizer/pkg-message new file mode 100644 index 000000000000..71cbde28c51c --- /dev/null +++ b/japanese/zope-zmilocalizer/pkg-message @@ -0,0 +1,4 @@ +To complete the installation of ZMI Localizer + +- Restart Zope. This may be done from the Zope Control Panel. + -- cgit