summaryrefslogtreecommitdiff
path: root/www/py-zpublisher
diff options
context:
space:
mode:
authortsarna <tsarna@pkgsrc.org>2000-07-28 17:51:15 +0000
committertsarna <tsarna@pkgsrc.org>2000-07-28 17:51:15 +0000
commita51dc8fa1f675e6f16fa3ed4b9da803059cb5a5b (patch)
treedd65def56b784e1d7b752f6cb9bd2cbc53982297 /www/py-zpublisher
parentf091085dc6caa164a828ab12e1918bee6932852c (diff)
downloadpkgsrc-a51dc8fa1f675e6f16fa3ed4b9da803059cb5a5b.tar.gz
Initial import of pkg for ZPublisher from Zope 2.2.0. ZPublisher is the
Zope Web-based ORB. It published Python objects through the web. It is one of the core pieces of Zope, but can also be used separately.
Diffstat (limited to 'www/py-zpublisher')
-rw-r--r--www/py-zpublisher/Makefile37
-rw-r--r--www/py-zpublisher/files/md53
-rw-r--r--www/py-zpublisher/pkg/COMMENT1
-rw-r--r--www/py-zpublisher/pkg/DESCR7
-rw-r--r--www/py-zpublisher/pkg/PLIST.pre2
5 files changed, 50 insertions, 0 deletions
diff --git a/www/py-zpublisher/Makefile b/www/py-zpublisher/Makefile
new file mode 100644
index 00000000000..d875ac24146
--- /dev/null
+++ b/www/py-zpublisher/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/07/28 17:51:15 tsarna Exp $
+#
+
+DISTNAME= Zope-2.2.0-src
+PKGNAME= py-zpublisher-2.2.0
+CATEGORIES= www
+MASTER_SITES= http://www.zope.org/Products/Zope/2.2.0/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tsarna@netbsd.org
+HOMEPAGE= http://classic.zope.org:8080/Documentation/Reference/ORB
+
+DEPENDS+= py-extclass>=2.2.0:../../lang/python
+
+PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+SITE_PKG= lib/python1.5/site-packages
+PYTHON_LIBDIR= ${LOCALBASE}/${SITE_PKG}
+EXTRACT_ELEMENTS= ${DISTNAME}/lib/python/ZPublisher
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/lib/python
+
+do-build:
+ (cd ${WRKSRC}/..; ${LOCALBASE}/bin/python ${PREFIX}/lib/python1.5/compileall.py .)
+ (cd ${WRKSRC}/..; ${LOCALBASE}/bin/python -O ${PREFIX}/lib/python1.5/compileall.py .)
+
+do-install:
+ ${INSTALL_SCRIPT_DIR} ${PYTHON_LIBDIR}
+ ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
+ (cd ${WRKSRC}; ${PAX} -r -w -v -p e ZPublisher ${PYTHON_LIBDIR})
+ ${CHMOD} 755 ${PYTHON_LIBDIR}/ZPublisher/Test.py
+ (cd ${PREFIX}; ${FIND} ${SITE_PKG}/ZPublisher \
+ -type f -print >>${PLIST_SRC})
+ (cd ${PREFIX}; ${FIND} -d ${SITE_PKG}/ZPublisher \
+ -type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
+ ${LN} -sf ../${SITE_PKG}/ZPublisher/Test.py ${PREFIX}/bin/bobo
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-zpublisher/files/md5 b/www/py-zpublisher/files/md5
new file mode 100644
index 00000000000..d93204f708f
--- /dev/null
+++ b/www/py-zpublisher/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/07/28 17:51:15 tsarna Exp $
+
+MD5 (Zope-2.2.0-src.tgz) = e9a66aa64a75317ff6cefe3d3dce6286
diff --git a/www/py-zpublisher/pkg/COMMENT b/www/py-zpublisher/pkg/COMMENT
new file mode 100644
index 00000000000..946715406cc
--- /dev/null
+++ b/www/py-zpublisher/pkg/COMMENT
@@ -0,0 +1 @@
+The Zope ORB. Publishes a collection of Python objects as Web resources.
diff --git a/www/py-zpublisher/pkg/DESCR b/www/py-zpublisher/pkg/DESCR
new file mode 100644
index 00000000000..ee33f5bc2f4
--- /dev/null
+++ b/www/py-zpublisher/pkg/DESCR
@@ -0,0 +1,7 @@
+ZPublisher is the Zope ORB. It provides a simple mechanism for
+publishing a collection of Python objects as World-Wide-Web (Web)
+resources without any plumbing (e.g. CGI) specific code. The Zope ORB
+is the central component of the Zope web application platform. It can
+also be used without the rest of Zope. ZPublisher applications can be
+published as regular CGIs, using Persistent CGI ("PCGI") (see the
+py-pcgi package), or on the command line with the "bobo" program.
diff --git a/www/py-zpublisher/pkg/PLIST.pre b/www/py-zpublisher/pkg/PLIST.pre
new file mode 100644
index 00000000000..3cb24d4b696
--- /dev/null
+++ b/www/py-zpublisher/pkg/PLIST.pre
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.pre,v 1.1.1.1 2000/07/28 17:51:16 tsarna Exp $
+bin/bobo