Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2001 13:08:37 +0200 (SAST)
From:      johann@egenetics.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27267: New port: www/zope-zwiki
Message-ID:  <200105111108.f4BB8bq84919@shuffle.egenetics.com>

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

>Number:         27267
>Category:       ports
>Synopsis:       New port: www/zope-zwiki
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 11 04:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Johann Visagie
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Electric Genetics
>Environment:
>Description:
- ZWiki is the extremely popular WikiWeb clone for the Zope application
  server platform.
- Port outline nabbed from nbm's Zope product ports.  :)
>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-zwiki
#	zope-zwiki/Makefile
#	zope-zwiki/distinfo
#	zope-zwiki/pkg-message
#	zope-zwiki/pkg-plist
#	zope-zwiki/pkg-comment
#	zope-zwiki/pkg-descr
#
echo c - zope-zwiki
mkdir -p zope-zwiki > /dev/null 2>&1
echo x - zope-zwiki/Makefile
sed 's/^X//' >zope-zwiki/Makefile << 'END-of-zope-zwiki/Makefile'
X# New ports collection makefile for: zope-zwiki
X# Date created:		11 May 2001
X# Whom:			Johann Visagie <johann@egenetics.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	zwiki
XPORTVERSION=	0.8.1
XCATEGORIES=	www zope
XMASTER_SITES=	http://www.zope.org/Members/simon/ZWiki/
XPKGNAMEPREFIX=	zope-
XDISTNAME=	ZWiki-${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	johann@egenetics.com
X
XRUN_DEPENDS=	${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
X
XUSE_PYTHON=	yes
XDIST_SUBDIR=	zope
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=	ZWiki
XZOPEPRODUCTDIR=		lib/python/Products
X
XPLIST_SUB=	ZOPEBASEDIR=${SZOPEBASEDIR}
XWRKSRC=		${WRKDIR}/${ZOPEPRODUCTNAME}
XCPIO=		cpio --quiet -pdum -R
X
Xdo-build:
X	@ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
X
Xdo-install:
X	@ ${CHMOD} -R og+rX ${WRKSRC}/
X	@ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
X	@ ${MKDIR} ${ZOPEBASEDIR}/import
X	@ cd ${WRKSRC} && find * \! -name \*.zexp \
X	  | ${CPIO} ${BINOWN}:${BINGRP} \
X	  ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
X	@ ${INSTALL_DATA} ${WRKSRC}/ZWikiWebs.zexp ${ZOPEBASEDIR}/import
X
Xpost-install:
X.if !defined(BATCH)
X	@${CAT} ${PKGMESSAGE}
X.endif
X
X.include <bsd.port.mk>
END-of-zope-zwiki/Makefile
echo x - zope-zwiki/distinfo
sed 's/^X//' >zope-zwiki/distinfo << 'END-of-zope-zwiki/distinfo'
XMD5 (zope/ZWiki-0.8.1.tgz) = 1ca9fc2f2cec2d683d0d9d024335ffc7
END-of-zope-zwiki/distinfo
echo x - zope-zwiki/pkg-message
sed 's/^X//' >zope-zwiki/pkg-message << 'END-of-zope-zwiki/pkg-message'
X===> ZWiki post-port installation instructions:
X
X  To complete the installation of this port, you need to perform two further
X  steps:
X
X  1. Restart Zope.  This may be done from the Zope Control Panel in the Zope
X     management interface.
X
X  2. Import the example ZWikiWebs into Control_Panel/Products.  These 
X     have been placed in your Zope import directory as the following file:
X
X       ZWikiWebs.zexp
X
X     You canot add these examples as the Zope superuser; add it as a Zope user
X     with Manager privileges instead.  From the Control_Panel/Products folder,
X     click the Import/Export button, and type the name given a above as the
X     Import file name.
X
X  You will now be able to create a "ZWiki Web" object.
X
X  Note:  The page header image in a ZWiki Web will be broken if your Zope
X  server interfaces with Apache via PCGI (as the FreeBSD Zope port does by
X  default).  To work around this, place a ZWikiPage_icon.gif in your ZWiki
X  Web's Zope folder, and edit the standard_wiki_header DTML Method to point
X  to this image instead.
END-of-zope-zwiki/pkg-message
echo x - zope-zwiki/pkg-plist
sed 's/^X//' >zope-zwiki/pkg-plist << 'END-of-zope-zwiki/pkg-plist'
X%%ZOPEBASEDIR%%/import/ZWikiWebs.zexp
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/Changelog
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/README.txt
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/Tests.py
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/Tests.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/ZWikiPage.py
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/ZWikiPage.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/ZWikiPage_icon.gif
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/__init__.py
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/__init__.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/doctest.py
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/doctest.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/refresh.txt
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/version.txt
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/wwml.py
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/wwml.pyc
X%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/zwikipageAdd.dtml
X@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ZWiki
END-of-zope-zwiki/pkg-plist
echo x - zope-zwiki/pkg-comment
sed 's/^X//' >zope-zwiki/pkg-comment << 'END-of-zope-zwiki/pkg-comment'
XZWiki is a WikiWikiWeb product for Zope
END-of-zope-zwiki/pkg-comment
echo x - zope-zwiki/pkg-descr
sed 's/^X//' >zope-zwiki/pkg-descr << 'END-of-zope-zwiki/pkg-descr'
XZWiki is a WikiWikiWeb clone built on top of the Zope application server
X(http://www.zope.org/).
X
XWikiWebs are non-linear online interactive discussion forums - see the
Xoriginal WikiWikiWeb at http://c2.com/cgi-bin/wiki.  The fact that ZWiki has
Xbeen implemented as a Zope product allows it to be tightly integrated with
Xother Zope products, and this makes ZWiki especially useful as part of a
Xlarger community-oriented site.
X
XZWiki is fully customisable and comes with several examples demonstrating
Xvarious ways to implement a WikiWeb.  It has a number of advanced features
Xwhich elevate it above the run-of-the-mill Wiki clone.
X
XAuthor: Simon Michael <simon@joyful.com>
XWWW:    http://zwiki.org/
X
X-- Johann Visagie <johann@egenetics.com>
END-of-zope-zwiki/pkg-descr
exit

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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