ports/67318: New Port: japanese/ja-zope-jaMailhost : Zope product to send mail in japanese
HAYASHI Yasushi
yasi at yasi.to
Sat May 29 02:51:04 UTC 2004
>Number: 67318
>Category: ports
>Synopsis: New Port: japanese/ja-zope-jaMailhost : Zope product to send mail in japanese
>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: Fri May 28 19:50:22 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: HAYASHI Yasushi
>Release: FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD yasi.minidns.net 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #14: Thu May 27 22:35:39 JST 2004 yasi at yasi.minidns.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Zope has a feature to send mail from Web applications.
But this can't send mail in Japanese crrectly.
jaMailHost fixes this problem.
>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-jamailhost/Makefile
# japanese/zope-jamailhost/distinfo
# japanese/zope-jamailhost/pkg-descr
# japanese/zope-jamailhost/pkg-message
#
echo x - japanese/zope-jamailhost/Makefile
sed 's/^X//' >japanese/zope-jamailhost/Makefile << 'END-of-japanese/zope-jamailhost/Makefile'
X# New ports collection makefile for: zope-jaMailHost
X# Date created: 29 May 2004
X# Whom: Yasushi Hayashi
X#
X# $FreeBSD$
X#
X
XPORTNAME= jaMailHost
XPORTVERSION= 0.3.1
XCATEGORIES= japanese www zope
XMASTER_SITES= http://www005.upp.so-net.ne.jp/nakagami/Download/
X
XMAINTAINER= yasi at yasi.to
XCOMMENT= A Zope hotfix Product to send mail in Japanese
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-jamailhost/Makefile
echo x - japanese/zope-jamailhost/distinfo
sed 's/^X//' >japanese/zope-jamailhost/distinfo << 'END-of-japanese/zope-jamailhost/distinfo'
XMD5 (zope/jaMailHost-0.3.1.tar.gz) = c7c5c10d980e0c8955fd71938fd47f84
XSIZE (zope/jaMailHost-0.3.1.tar.gz) = 2635
END-of-japanese/zope-jamailhost/distinfo
echo x - japanese/zope-jamailhost/pkg-descr
sed 's/^X//' >japanese/zope-jamailhost/pkg-descr << 'END-of-japanese/zope-jamailhost/pkg-descr'
XMailHost is Zope-integrated feature to send mail from Web applications,
Xbut can not send Japanese mail correctly.
XThis "jaMailHost" product will solve this problem.
X
XIts license is ZPL 2.0.
X
XWWW: http://www005.upp.so-net.ne.jp/nakagami/tips/jaMailHost.html
X
X-- Yasushi Hayashi
Xyasi at yasi.to
END-of-japanese/zope-jamailhost/pkg-descr
echo x - japanese/zope-jamailhost/pkg-message
sed 's/^X//' >japanese/zope-jamailhost/pkg-message << 'END-of-japanese/zope-jamailhost/pkg-message'
XTo complete the installation of jaMailHost
X
X- Restart Zope. This may be done from the Zope Control Panel.
END-of-japanese/zope-jamailhost/pkg-message
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list