aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2000-09-07 21:12:36 +0800
committernbm <nbm@FreeBSD.org>2000-09-07 21:12:36 +0800
commitfed129519e8d922bcf2c89f3b1d8c580af1dc790 (patch)
tree0a734176ddbc0edc56c53c8b00aca44ebeacfcc6 /databases
parent53adf4e0cf1df78c0c513d871f882acefac431a4 (diff)
downloadfreebsd-ports-gnome-fed129519e8d922bcf2c89f3b1d8c580af1dc790.tar.gz
freebsd-ports-gnome-fed129519e8d922bcf2c89f3b1d8c580af1dc790.tar.zst
freebsd-ports-gnome-fed129519e8d922bcf2c89f3b1d8c580af1dc790.zip
Add ZPyGreSQLDA, a PostgreSQL database adaptor for Zope.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/zpygresqlda/Makefile48
-rw-r--r--databases/zpygresqlda/distinfo1
-rw-r--r--databases/zpygresqlda/pkg-comment1
-rw-r--r--databases/zpygresqlda/pkg-descr2
-rw-r--r--databases/zpygresqlda/pkg-plist34
6 files changed, 87 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 146afd4aa5b1..8f3d72424b98 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
#
+ SUBDIR += zpygresqlda
SUBDIR += cdb
SUBDIR += db
SUBDIR += db3
diff --git a/databases/zpygresqlda/Makefile b/databases/zpygresqlda/Makefile
new file mode 100644
index 000000000000..7a05b1ea7cab
--- /dev/null
+++ b/databases/zpygresqlda/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: ZPyGreSQLDA
+# Date created: 07 Sep 2000
+# Whom: makeport.pl
+#
+# $FreeBSD$
+#
+
+PORTNAME= zpygresqlda
+PORTVERSION= 0.3.2
+CATEGORIES= databases
+MASTER_SITES= http://www.zope.org/Members/reedstrm/ZPyGreSQLDA-rjr/
+DISTNAME= ZPyGreSQLDA-0.3-rjr2
+
+MAINTAINER= nbm@FreeBSD.org
+
+RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
+LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
+
+# You can change this in the environment
+SZOPEBASEDIR?= www/Zope
+
+# Don't change these
+ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
+ZOPEPRODUCTNAME= ZPyGreSQLDA
+ZOPEPRODUCTDIR= lib/python/Products
+
+WRKSRC= ${WRKDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}
+
+PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR}
+
+do-build:
+ @${ECHO} '*shared*' > ${WRKSRC}/src/Setup
+ @${ECHO} '' >> ${WRKSRC}/src/Setup
+ @${ECHO} '_pg pgmodule.c ' \
+ '-I${LOCALBASE}/pgsql/include ' \
+ '-L${LOCALBASE}/pgsql/lib ' \
+ '-lpq -lcrypt' >> ${WRKSRC}/src/Setup
+ @(cd ${WRKSRC}/src && \
+ make -f Makefile.pre.in boot && \
+ make )
+ @${CP} ${WRKSRC}/src/_pgmodule.so ${WRKSRC}/
+
+do-install:
+ @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
+ @${CP} -Rf ${WRKSRC}/* \
+ ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
+
+.include <bsd.port.mk>
diff --git a/databases/zpygresqlda/distinfo b/databases/zpygresqlda/distinfo
new file mode 100644
index 000000000000..b6a226a401c6
--- /dev/null
+++ b/databases/zpygresqlda/distinfo
@@ -0,0 +1 @@
+MD5 (ZPyGreSQLDA-0.3-rjr2.tar.gz) = 60ffc0575d1f9026483f6f7212375268
diff --git a/databases/zpygresqlda/pkg-comment b/databases/zpygresqlda/pkg-comment
new file mode 100644
index 000000000000..27ca40a576bf
--- /dev/null
+++ b/databases/zpygresqlda/pkg-comment
@@ -0,0 +1 @@
+PostgreSQL database adapter for Zope
diff --git a/databases/zpygresqlda/pkg-descr b/databases/zpygresqlda/pkg-descr
new file mode 100644
index 000000000000..6c3b85bf3c10
--- /dev/null
+++ b/databases/zpygresqlda/pkg-descr
@@ -0,0 +1,2 @@
+This is the Z PyGreSQL database adapter product for the
+Z Object Publishing Environment.
diff --git a/databases/zpygresqlda/pkg-plist b/databases/zpygresqlda/pkg-plist
new file mode 100644
index 000000000000..1993f5ad68fd
--- /dev/null
+++ b/databases/zpygresqlda/pkg-plist
@@ -0,0 +1,34 @@
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/CHANGES.txt
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/DA.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/README.txt
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/__init__.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/_pgmodule.so
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/data/team.sql
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/db.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/Announce
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/ChangeLog
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/Makefile
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/Makefile.pre
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/Makefile.pre.in
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/README
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/README.linux
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/Setup
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/Setup.in
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/_pgmodule.so
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/config.c
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/mkdefines
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/pg.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/pgmodule.c
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/pgmodule.o
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/pgsqldb.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/sedscript
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/tutorial/advanced.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/tutorial/basics.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/tutorial/func.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/tutorial/pgtools.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/tutorial/syscat.py
+%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/version.txt
+@unexec rmdir %D/%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/data
+@unexec rmdir %D/%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src/tutorial
+@unexec rmdir %D/%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA/src
+@unexec rmdir %D/%%ZOPEBASEDIR%%/lib/python/Products/ZPyGreSQLDA