ports/51215: New port: www/zope-translationservice

Tod McQuillin devin at spamcop.net
Mon Apr 21 13:10:10 UTC 2003


>Number:         51215
>Category:       ports
>Synopsis:       New port: www/zope-translationservice
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 21 06:10:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Tod McQuillin
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD glass.pun-pun.prv 4.8-STABLE FreeBSD 4.8-STABLE #0: Mon Apr 14 21:24:38 JST 2003 devin at glass.pun-pun.prv:/usr/obj/usr/src/4-stable/src/sys/GLASS i386

>Description:

New port: www/zope-translationservice

A Zope component that works with Localizer (see PR ports/51214)

TranslationService is a placeful translation service for Zope 2.6.

It allows you to have fully functional internationalization from Page
Templates using the standardized i18n tags. See the ZPT
internationalization wiki for more details on the syntax.

Home Page: http://www.zope.org/Members/efge/TranslationService

>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:
#
#	zope-translationservice
#	zope-translationservice/Makefile
#	zope-translationservice/distinfo
#	zope-translationservice/pkg-plist
#	zope-translationservice/pkg-descr
#
echo c - zope-translationservice
mkdir -p zope-translationservice > /dev/null 2>&1
echo x - zope-translationservice/Makefile
sed 's/^X//' >zope-translationservice/Makefile << 'END-of-zope-translationservice/Makefile'
X# New ports collection makefile for: zope-translationservice
X# Date created:		21 Apr 2003
X# Whom:			Tod McQuillin
X#
X# $FreeBSD$
X#
X
XPORTNAME=	zope-translationservice
XPORTVERSION=	0.3
XCATEGORIES=	www zope
XMASTER_SITES=	http://www.zope.org/Members/efge/TranslationService/
XDISTNAME=	TranslationService-${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	ports at FreeBSD.org
XCOMMENT=	TranslationService is a placeful translation service for Zope 2.6
X
XRUN_DEPENDS=	${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope \
X		${LOCALBASE}/${SZOPEBASEDIR}/lib/python/Products/Localizer/__init__.py:${PORTSDIR}/www/zope-localizer
X
XUSE_PYTHON=	yes
XDIST_SUBDIR=	zope
X
XWRKSRC=		${WRKDIR}/TranslationService
X
X# You can change this in the environment if you like.
XSZOPEBASEDIR?=		www/Zope
X
X# Don't change these
XZOPEBASEDIR=		${PREFIX}/${SZOPEBASEDIR}
XZOPEPRODUCTNAME=
XZOPEPRODUCTDIR=		lib/python/Products
X
XPLIST_SUB=	ZOPEBASEDIR=${SZOPEBASEDIR}
X
Xdo-build:
X	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
X
Xdo-install:
X	@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
X	@${CHMOD} -R og+rX ${WRKSRC}/
X	@${CP} -R ${WRKSRC} \
X		${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
X
X.include <bsd.port.mk>
END-of-zope-translationservice/Makefile
echo x - zope-translationservice/distinfo
sed 's/^X//' >zope-translationservice/distinfo << 'END-of-zope-translationservice/distinfo'
XMD5 (zope/TranslationService-0.3.tgz) = 9b3655148137c500152a8972eae3e991
END-of-zope-translationservice/distinfo
echo x - zope-translationservice/pkg-plist
sed 's/^X//' >zope-translationservice/pkg-plist << 'END-of-zope-translationservice/pkg-plist'
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/zmi/addPlacefulTranslationServiceForm.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/zmi/manage_configure.dtml
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/CHANGES.txt
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/Domain.py
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/LICENSE.txt
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/LocalizerDomain.py
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/LocalizerMessageCatalog.py
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/PlacefulTranslationService.py
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/__init__.py
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/refresh.txt
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/translation_service_icon.gif
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/version.txt
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/Domain.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/LocalizerDomain.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/LocalizerMessageCatalog.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/PlacefulTranslationService.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/TranslationService/__init__.pyc
X at dirrm %%ZOPEBASEDIR%%/lib/python/Products/TranslationService/zmi
X at dirrm %%ZOPEBASEDIR%%/lib/python/Products/TranslationService
END-of-zope-translationservice/pkg-plist
echo x - zope-translationservice/pkg-descr
sed 's/^X//' >zope-translationservice/pkg-descr << 'END-of-zope-translationservice/pkg-descr'
XTranslationService is a placeful translation service for Zope 2.6.
X
XIt allows you to have fully functional internationalization from Page
XTemplates using the standardized i18n tags. See the ZPT
Xinternationalization wiki for more details on the syntax.
X
XHome Page: http://www.zope.org/Members/efge/TranslationService
END-of-zope-translationservice/pkg-descr
exit

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



More information about the freebsd-ports-bugs mailing list