Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2005 21:06:29 GMT
From:      "Matthew X. Economou" <xenophon+fbsdports@irtnog.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/79768: New port: www/zope-externaleditor (Edit Zope objects locally, directly from the ZMI)
Message-ID:  <200504102106.j3AL6T1d045674@www.freebsd.org>
Resent-Message-ID: <200504102110.j3ALAB8Y041545@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         79768
>Category:       ports
>Synopsis:       New port: www/zope-externaleditor (Edit Zope objects locally, directly from the ZMI)
>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 Apr 10 21:10:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Matthew X. Economou
>Release:        FreeBSD 5.3-RELEASE
>Organization:
IRTNOG.ORG
>Environment:
FreeBSD xenophoncinl1.irtnog.org 5.3-SECURITY
FreeBSD 5.3-SECURITY #0: Fri Jan  7 04:09:28 UTC 2005
root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386

>Description:
Normally, one edits Zope content through its web interface.  While editing content via WebDAV is possible, many useful editors have incomplete WebDAV support at best.  ExternalEditor adds support for opening content in the text editor of the user's choice.  (This requires a separate client portion that must be configured to run from the user's browser.)
>How-To-Repeat:
N/A
>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:
#
#	www/zope-externaleditor
#	www/zope-externaleditor/Makefile
#	www/zope-externaleditor/distinfo
#	www/zope-externaleditor/pkg-descr
#	www/zope-externaleditor/pkg-message
#
echo c - www/zope-externaleditor
mkdir -p www/zope-externaleditor > /dev/null 2>&1
echo x - www/zope-externaleditor/Makefile
sed 's/^X//' >www/zope-externaleditor/Makefile << 'END-of-www/zope-externaleditor/Makefile'
X# New ports collection makefile for:	zope-externaleditor
X# Date created:				06 Nov 2004
X# Whom:					Matthew X. Economou
X#
X# $FreeBSD$
X#
X
XPORTNAME=	externaleditor
XPORTVERSION=	0.8
XCATEGORIES=	www zope
XMASTER_SITES=	http://zope.org/Members/Caseman/ExternalEditor/${PORTVERSION}/
XPKGNAMEPREFIX=	zope-
XDISTNAME=	ExternalEditor-${PORTVERSION}-src
X
XMAINTAINER=	xenophon+fbsdport@irtnog.org
XCOMMENT=	Edit Zope objects locally, directly from the ZMI
X
XUSE_PYTHON=	yes
XUSE_ZOPE=	yes
XDIST_SUBDIR=	zope
X
XPLIST=		${WRKDIR}/pkg-plist
XWRKSRC=		${WRKDIR}/ExternalEditor
X
XPRODUCTNAME=	ExternalEditor
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} ${PRODUCTNAME} -type f`; do \
X		${ECHO_CMD} %%ZOPEPRODUCTDIR%%/$${f} >> ${PLIST}; \
X	done; \
X	for d in `${FIND} -d ${PRODUCTNAME} -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-www/zope-externaleditor/Makefile
echo x - www/zope-externaleditor/distinfo
sed 's/^X//' >www/zope-externaleditor/distinfo << 'END-of-www/zope-externaleditor/distinfo'
XMD5 (zope/Epoz-0.8.2.tar.gz) = 230d63393b1bdef89c49ab8a7b3fc8d8
XSIZE (zope/Epoz-0.8.2.tar.gz) = 43303
END-of-www/zope-externaleditor/distinfo
echo x - www/zope-externaleditor/pkg-descr
sed 's/^X//' >www/zope-externaleditor/pkg-descr << 'END-of-www/zope-externaleditor/pkg-descr'
XEpoz is a product for Zope/CMF
X
XEpoz allows you to edit Zope- or Plone-objects with a wysiwyg-editor. No
Xplugins are required. You only have to use a recent browser (IE >= 5.5, Mozilla
X>= 1.3.1, Netscape >= 7.1, Firefox >= 0.7) that supports Rich-Text-controls
X(called Midas for Mozilla).
X
XWWW: http://mjablonski.zope.de/Epoz
X
X- Khairil Yusof
Xkaeru@inigo-tech.com
END-of-www/zope-externaleditor/pkg-descr
echo x - www/zope-externaleditor/pkg-message
sed 's/^X//' >www/zope-externaleditor/pkg-message << 'END-of-www/zope-externaleditor/pkg-message'
XTo complete the installation of Epoz:
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 Epoz in your portal instance
X
XWithout CMFQuickInstaller
X
X- Add and run an External Method with the following settings in your
X  CMF/Plone root using the Zope Management Interface (ZMI):
X
Xid: install_epoz
Xtitle: Install Epoz (optional)
Xmodule: Epoz.Install
Xfunction: install
X
X- Click the Test tab to run the install script
END-of-www/zope-externaleditor/pkg-message
exit

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504102106.j3AL6T1d045674>