ports/68652: new port: www/zope-i18nlayer
Khairil Yusof
kaeru at inigo-tech.com
Sun Jul 4 11:20:04 UTC 2004
>Number: 68652
>Category: ports
>Synopsis: new port: www/zope-i18nlayer
>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: Sun Jul 04 11:20:04 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Khairil Yusof
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
Inigo Tech
>Environment:
System: FreeBSD 5.2-CURRENT #33: Thu Jul 1 22:36:31 MYT 2004
root at wolverine.cerebro.net.my:/usr/obj/usr/src/sys/WOLVERINE
>Description:
I18NLayer is a product for Zope
I18NLayer provides a transparent overlay above multiple content objects to
provide multilanguage content support for existing document types.
>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-i18nlayer
# zope-i18nlayer/Makefile
# zope-i18nlayer/distinfo
# zope-i18nlayer/pkg-descr
# zope-i18nlayer/pkg-message
#
echo c - zope-i18nlayer
mkdir -p zope-i18nlayer > /dev/null 2>&1
echo x - zope-i18nlayer/Makefile
sed 's/^X//' >zope-i18nlayer/Makefile << 'END-of-zope-i18nlayer/Makefile'
X# New ports collection makefile for: zope-i18nlayer
X# Date created: July 4 2004
X# Whom: Khairil Yusof <kaeru at inigo-tech.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= i18nlayer
XPORTVERSION= 0.5.5
XCATEGORIES= www zope
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= collective
XPKGNAMEPREFIX= zope-
XDISTNAME= I18NLayer-${PORTVERSION}
X
XMAINTAINER= kaeru at inigo-tech.com
XCOMMENT= I18NLayer product for Zope
X
XRUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFPlone/__init__.py:${PORTSDIR}/www/plone \
X ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/Archetypes/__init__.py:${PORTSDIR}/www/zope-archetypes \
X ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/PlacelessTranslationService/__init__.py:${PORTSDIR}/www/zope-placelesstranslationservice
X
XUSE_PYTHON= yes
XUSE_ZOPE= yes
XDIST_SUBDIR= zope
X
XEXTRACT_CMD= tar
XEXTRACT_BEFORE_ARGS= -zxvf
XEXTRACT_AFTER_ARGS= --exclude CVS
X
XZOPEPRODUCTNAME= I18NLayer
X
XPLIST= ${WRKDIR}/pkg-plist
XWRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME}
X
Xdo-build:
X @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -x skins ${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.mk>
END-of-zope-i18nlayer/Makefile
echo x - zope-i18nlayer/distinfo
sed 's/^X//' >zope-i18nlayer/distinfo << 'END-of-zope-i18nlayer/distinfo'
XMD5 (zope/I18NLayer-0.5.5.tar.gz) = c665c8dc212c3bd36a62df57fd60994d
XSIZE (zope/I18NLayer-0.5.5.tar.gz) = 31941
END-of-zope-i18nlayer/distinfo
echo x - zope-i18nlayer/pkg-descr
sed 's/^X//' >zope-i18nlayer/pkg-descr << 'END-of-zope-i18nlayer/pkg-descr'
XI18NLayer is a product for Zope
X
XI18NLayer provides a transparent overlay above multiple content objects to
Xprovide multilanguage content support for existing document types.
X
XWWW: http://plone.org/collective
X
X- Khairil Yusof
Xkaeru at inigo-tech.com
END-of-zope-i18nlayer/pkg-descr
echo x - zope-i18nlayer/pkg-message
sed 's/^X//' >zope-i18nlayer/pkg-message << 'END-of-zope-i18nlayer/pkg-message'
XTo complete the installation of I18NLayer:
X
X- Restart Zope. This may be done from the Zope Control Panel.
X
XWith CMFQuickInstaller (optional)
X
X- Use the QuickInstaller tool to register I18NLayer in your portal
X instance
X
XWith Plone (optional)
X
X- Use Plone Setup, to install I18NLayer product.
X
XWithout CMFQuickInstaller
X
X - Create an ExternalMethod object inside your portal object with the
X following data:
X
X Id: install_I18NLayer
X Title: installs I18NLayer to this portal
X Module Name: I18NLayer.Install
X Function Name: install
X
X - Run this newly created ExternalMethod by clicking on the test tab.
END-of-zope-i18nlayer/pkg-message
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list