summaryrefslogtreecommitdiff
path: root/www/py-pcgi
diff options
context:
space:
mode:
authortsarna <tsarna@pkgsrc.org>2000-01-16 04:15:18 +0000
committertsarna <tsarna@pkgsrc.org>2000-01-16 04:15:18 +0000
commit7e2d31b7bf3859e2094c3f0643e4ddc8c9dc3e15 (patch)
tree4e54c449a7528c658d689735663c73dec65c0cdf /www/py-pcgi
parent722a0218b3b8a234546cf87ca9eda5b7f8330265 (diff)
downloadpkgsrc-7e2d31b7bf3859e2094c3f0643e4ddc8c9dc3e15.tar.gz
import Persistent CGI system from Zope/ZPublisher
Diffstat (limited to 'www/py-pcgi')
-rw-r--r--www/py-pcgi/Makefile31
-rw-r--r--www/py-pcgi/files/md53
-rw-r--r--www/py-pcgi/pkg/COMMENT1
-rw-r--r--www/py-pcgi/pkg/DESCR5
-rw-r--r--www/py-pcgi/pkg/PLIST5
5 files changed, 45 insertions, 0 deletions
diff --git a/www/py-pcgi/Makefile b/www/py-pcgi/Makefile
new file mode 100644
index 00000000000..de94f125c35
--- /dev/null
+++ b/www/py-pcgi/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/01/16 04:15:18 tsarna Exp $
+#
+
+DISTNAME= Zope-2.1.2-src
+PKGNAME= py-pcgi-2.1.2
+CATEGORIES= www
+MASTER_SITES= http://www.zope.org/Products/Zope/2.1.2/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tsarna@netbsd.org
+HOMEPAGE= http://starship.python.net/crew/jbauer/persistcgi/
+
+DEPENDS+= python-1.5.2:../../lang/python
+
+HAS_CONFIGURE= yes
+SITE_PKG= lib/python1.5/site-packages
+PYTHON_LIBDIR= ${LOCALBASE}/${SITE_PKG}
+EXTRACT_ELEMENTS= ${DISTNAME}/pcgi
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/pcgi
+
+post-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}
+ ${INSTALL_SCRIPT} ${WRKSRC}/pcgi_publisher.py* ${PYTHON_LIBDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/pcgi-wrapper ${PREFIX}/libexec
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-pcgi/files/md5 b/www/py-pcgi/files/md5
new file mode 100644
index 00000000000..cf4b3d13a59
--- /dev/null
+++ b/www/py-pcgi/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/01/16 04:15:18 tsarna Exp $
+
+MD5 (Zope-2.1.2-src.tgz) = 034b4209604482608868d00031f2dae4
diff --git a/www/py-pcgi/pkg/COMMENT b/www/py-pcgi/pkg/COMMENT
new file mode 100644
index 00000000000..7cc52754bc9
--- /dev/null
+++ b/www/py-pcgi/pkg/COMMENT
@@ -0,0 +1 @@
+Persistent CGI system for Zope and other ZPublisher applications
diff --git a/www/py-pcgi/pkg/DESCR b/www/py-pcgi/pkg/DESCR
new file mode 100644
index 00000000000..4ad413ea009
--- /dev/null
+++ b/www/py-pcgi/pkg/DESCR
@@ -0,0 +1,5 @@
+Persistent CGI provides a transparent architecture for accessing
+published web objects as long-running processes. Published objects may
+be accessed on any server supporting CGI. PCGI is one way to interface
+Zope or other ZPublisher applications to Apache.
+
diff --git a/www/py-pcgi/pkg/PLIST b/www/py-pcgi/pkg/PLIST
new file mode 100644
index 00000000000..22e8688092c
--- /dev/null
+++ b/www/py-pcgi/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/01/16 04:15:18 tsarna Exp $
+libexec/pcgi-wrapper
+lib/python1.5/site-packages/pcgi_publisher.py
+lib/python1.5/site-packages/pcgi_publisher.pyc
+lib/python1.5/site-packages/pcgi_publisher.pyo