aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/zope-zwiki/Makefile52
-rw-r--r--www/zope-zwiki/distinfo1
-rw-r--r--www/zope-zwiki/pkg-comment1
-rw-r--r--www/zope-zwiki/pkg-descr17
-rw-r--r--www/zope-zwiki/pkg-message24
-rw-r--r--www/zope-zwiki/pkg-plist18
7 files changed, 114 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 4b897b885616..09a6877eed09 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
#
+ SUBDIR += zope-zwiki
SUBDIR += Mosaic # requires Motif
SUBDIR += WebMagick
diff --git a/www/zope-zwiki/Makefile b/www/zope-zwiki/Makefile
new file mode 100644
index 000000000000..de828cced983
--- /dev/null
+++ b/www/zope-zwiki/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: zope-zwiki
+# Date created: 11 May 2001
+# Whom: Johann Visagie <johann@egenetics.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zwiki
+PORTVERSION= 0.8.1
+CATEGORIES= www zope
+MASTER_SITES= http://www.zope.org/Members/simon/ZWiki/
+PKGNAMEPREFIX= zope-
+DISTNAME= ZWiki-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= wjv@FreeBSD.org
+
+RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
+
+USE_PYTHON= yes
+DIST_SUBDIR= zope
+
+# You can change this in the environment if you like.
+SZOPEBASEDIR?= www/Zope
+
+# Don't change these
+ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
+ZOPEPRODUCTNAME= ZWiki
+ZOPEPRODUCTDIR= lib/python/Products
+
+PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR}
+WRKSRC= ${WRKDIR}/${ZOPEPRODUCTNAME}
+CPIO= cpio --quiet -pdum -R
+
+do-build:
+ @ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+
+do-install:
+ @ ${CHMOD} -R og+rX ${WRKSRC}/
+ @ ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
+ @ ${MKDIR} ${ZOPEBASEDIR}/import
+ @ cd ${WRKSRC} && find * \! -name \*.zexp \
+ | ${CPIO} ${BINOWN}:${BINGRP} \
+ ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
+ @ ${INSTALL_DATA} ${WRKSRC}/ZWikiWebs.zexp ${ZOPEBASEDIR}/import
+
+post-install:
+.if !defined(BATCH)
+ @${CAT} ${PKGMESSAGE}
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/zope-zwiki/distinfo b/www/zope-zwiki/distinfo
new file mode 100644
index 000000000000..d9f23d0aab13
--- /dev/null
+++ b/www/zope-zwiki/distinfo
@@ -0,0 +1 @@
+MD5 (zope/ZWiki-0.8.1.tgz) = 1ca9fc2f2cec2d683d0d9d024335ffc7
diff --git a/www/zope-zwiki/pkg-comment b/www/zope-zwiki/pkg-comment
new file mode 100644
index 000000000000..3452e145e570
--- /dev/null
+++ b/www/zope-zwiki/pkg-comment
@@ -0,0 +1 @@
+A WikiWikiWeb product for Zope
diff --git a/www/zope-zwiki/pkg-descr b/www/zope-zwiki/pkg-descr
new file mode 100644
index 000000000000..6efa72e61d77
--- /dev/null
+++ b/www/zope-zwiki/pkg-descr
@@ -0,0 +1,17 @@
+ZWiki is a WikiWikiWeb clone built on top of the Zope application server
+(http://www.zope.org/).
+
+WikiWebs are non-linear online interactive discussion forums - see the
+original WikiWikiWeb at http://c2.com/cgi-bin/wiki. The fact that ZWiki has
+been implemented as a Zope product allows it to be tightly integrated with
+other Zope products, and this makes ZWiki especially useful as part of a
+larger community-oriented site.
+
+ZWiki is fully customisable and comes with several examples demonstrating
+various ways to implement a WikiWeb. It has a number of advanced features
+which elevate it above the run-of-the-mill Wiki clone.
+
+Author: Simon Michael <simon@joyful.com>
+WWW: http://zwiki.org/
+
+-- Johann Visagie <johann@egenetics.com>
diff --git a/www/zope-zwiki/pkg-message b/www/zope-zwiki/pkg-message
new file mode 100644
index 000000000000..c23d06c78f84
--- /dev/null
+++ b/www/zope-zwiki/pkg-message
@@ -0,0 +1,24 @@
+===> ZWiki post-port installation instructions:
+ To complete the installation of this port, you need to perform two further
+ steps:
+
+ 1. Restart Zope. This may be done from the Zope Control Panel in the Zope
+ management interface.
+
+ 2. Import the example ZWikiWebs into Control_Panel/Products. These
+ have been placed in your Zope import directory as the following file:
+
+ ZWikiWebs.zexp
+
+ You cannot add these examples as the Zope superuser; add it as a Zope
+ user with Manager privileges instead. From the Control_Panel/Products
+ folder, click the Import/Export button, and type the name given a above
+ as the Import file name.
+
+ You will now be able to create a "ZWiki Web" object.
+
+ Note: The page header image in a ZWiki Web will be broken if your Zope
+ server interfaces with Apache via PCGI (as the FreeBSD Zope port does by
+ default). To work around this, place a ZWikiPage_icon.gif in your ZWiki
+ Web's Zope folder, and edit the standard_wiki_header DTML Method to point
+ to this image instead.
diff --git a/www/zope-zwiki/pkg-plist b/www/zope-zwiki/pkg-plist
new file mode 100644
index 000000000000..144cccba1cc7
--- /dev/null
+++ b/www/zope-zwiki/pkg-plist
@@ -0,0 +1,18 @@
+%%ZOPEBASEDIR%%/import/ZWikiWebs.zexp
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/Changelog
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/README.txt
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/Tests.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/Tests.pyc
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/ZWikiPage.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/ZWikiPage.pyc
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/ZWikiPage_icon.gif
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/__init__.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/__init__.pyc
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/doctest.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/doctest.pyc
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/refresh.txt
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/version.txt
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/wwml.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/wwml.pyc
+%%ZOPEBASEDIR%%/lib/python/Products/ZWiki/zwikipageAdd.dtml
+@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ZWiki