From kaeru@inigo-tech.com  Sun Jul  4 15:09:35 2004
Return-Path: <kaeru@inigo-tech.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0128316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Jul 2004 15:09:35 +0000 (GMT)
Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31])
	by mx1.FreeBSD.org (Postfix) with SMTP id D859043D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Jul 2004 15:09:34 +0000 (GMT)
	(envelope-from kaeru@inigo-tech.com)
Received: from unknown (HELO wolverine.cerebro.net.my) (khairil?yusof@219.95.246.112 with login)
  by smtp011.mail.yahoo.com with SMTP; 4 Jul 2004 15:09:33 -0000
Message-Id: <1088953772.0@wolverine.cerebro.net.my>
Date: Sun, 4 Jul 2004 23:09:32 +0800
From: "Khairil Yusof" <kaeru@inigo-tech.com>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: new port: www/zope-plonelanguagetool
X-Send-Pr-Version: gtk-send-pr 0.3.3 
X-GNATS-Notify:

>Number:         68659
>Category:       ports
>Synopsis:       new port: www/zope-plonelanguagetool
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 04 15:10:05 GMT 2004
>Closed-Date:    Mon Jul 05 18:21:27 GMT 2004
>Last-Modified:  Mon Jul 05 18:21:27 GMT 2004
>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@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@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@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@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:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Mon Jul 5 18:21:16 GMT 2004 
State-Changed-Why:  
New port added, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68659 
>Unformatted:
