aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/zope-zmilocalizer/Makefile58
-rw-r--r--japanese/zope-zmilocalizer/distinfo2
-rw-r--r--japanese/zope-zmilocalizer/pkg-descr7
-rw-r--r--japanese/zope-zmilocalizer/pkg-message4
5 files changed, 72 insertions, 0 deletions
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 <bsd.port.subdir.mk>
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 <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}/${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 <bsd.port.post.mk>
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.
+