ports/68659: new port: www/zope-plonelanguagetool
Khairil Yusof
kaeru at inigo-tech.com
Sun Jul 4 15:10:06 UTC 2004
>Number: 68659
>Category: ports
>Synopsis: new port: www/zope-plonelanguagetool
>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 15:10:05 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:
PloneLanguageTool is a product for Zope/CMF
Provides a portal_languages tool that you can add to your Plone site in the
ZMI. You can select the allowed and default languages and choose from a number
of negotiation schemes.
WWW: http://plone.org/collective
>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-plonelanguagetool
# zope-plonelanguagetool/Makefile
# zope-plonelanguagetool/pkg-message
# zope-plonelanguagetool/pkg-descr
# zope-plonelanguagetool/distinfo
#
echo c - zope-plonelanguagetool
mkdir -p zope-plonelanguagetool > /dev/null 2>&1
echo x - zope-plonelanguagetool/Makefile
sed 's/^X//' >zope-plonelanguagetool/Makefile << 'END-of-zope-plonelanguagetool/Makefile'
X# New ports collection makefile for: zope-plonelanguagetool
X# Date created: July 4 2004
X# Whom: Khairil Yusof <kaeru at inigo-tech.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= plonelanguagetool
XPORTVERSION= 0.4
XCATEGORIES= www zope
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= collective
XPKGNAMEPREFIX= zope-
XDISTNAME= PloneLanguageTool-${PORTVERSION}
X
XMAINTAINER= kaeru at inigo-tech.com
XCOMMENT= PloneLanguageTool product for Zope
X
XRUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFPlone/__init__.py:${PORTSDIR}/www/plone \
X ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/I18NLayer/__init__.py:${PORTSDIR}/www/zope-i18nlayer
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= PloneLanguageTool
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-plonelanguagetool/Makefile
echo x - zope-plonelanguagetool/pkg-message
sed 's/^X//' >zope-plonelanguagetool/pkg-message << 'END-of-zope-plonelanguagetool/pkg-message'
XTo complete the installation of PloneLanguageTool:
X
X- Restart Zope. This may be done from the Zope Control Panel.
X
XWith Plone (optional)
X
X- Use Plone Setup, to install PloneLanguageTool product.
X
XWith CMFQuickInstaller (optional)
X
X- Use the QuickInstaller tool to register PloneLanguageTool in your portal
X instance
X
XWithout CMFQuickInstaller
X
X - Create an ExternalMethod object inside your portal object with the
X following data:
X
X Id: install_PloneLanguageTool
X Title: installs PloneLanguageTool to this portal
X Module Name: PloneLanguageTool.Install
X Function Name: install
X
X - Run this newly created ExternalMethod by clicking on the test tab.
END-of-zope-plonelanguagetool/pkg-message
echo x - zope-plonelanguagetool/pkg-descr
sed 's/^X//' >zope-plonelanguagetool/pkg-descr << 'END-of-zope-plonelanguagetool/pkg-descr'
XPloneLanguageTool is a product for Zope/CMF
X
XProvides a portal_languages tool that you can add to your Plone site in the
XZMI. You can select the allowed and default languages and choose from a number
Xof negotiation schemes.
X
XWWW: http://plone.org/collective
X
X- Khairil Yusof
Xkaeru at inigo-tech.com
END-of-zope-plonelanguagetool/pkg-descr
echo x - zope-plonelanguagetool/distinfo
sed 's/^X//' >zope-plonelanguagetool/distinfo << 'END-of-zope-plonelanguagetool/distinfo'
XMD5 (zope/PloneLanguageTool-0.4.tar.gz) = 68505b6ec1ccad90c3992b51df9e231b
XSIZE (zope/PloneLanguageTool-0.4.tar.gz) = 51490
END-of-zope-plonelanguagetool/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list