summaryrefslogtreecommitdiff
path: root/databases/py-PyGreSQL
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>1999-02-23 00:28:15 +0000
committerJacques Vidrine <nectar@FreeBSD.org>1999-02-23 00:28:15 +0000
commitaf34c77e3f95eafd550b1f027f2527c2dcd3330a (patch)
tree898ad3af8ffb1e76bb042e2a7ff2489e83a66f08 /databases/py-PyGreSQL
parentMoving patch-ac to patch-ab, because patch-ab is where the (diff)
Update from 2.1 to 2.3.
Notes
Notes: svn path=/head/; revision=16866
Diffstat (limited to 'databases/py-PyGreSQL')
-rw-r--r--databases/py-PyGreSQL/Makefile16
-rw-r--r--databases/py-PyGreSQL/distinfo2
-rw-r--r--databases/py-PyGreSQL/files/Makefile14
-rw-r--r--databases/py-PyGreSQL/pkg-plist10
4 files changed, 21 insertions, 21 deletions
diff --git a/databases/py-PyGreSQL/Makefile b/databases/py-PyGreSQL/Makefile
index 41e52f351fdc..fc4c956996bd 100644
--- a/databases/py-PyGreSQL/Makefile
+++ b/databases/py-PyGreSQL/Makefile
@@ -1,25 +1,23 @@
# Ports collection Makefile for: PyGreSQL
-# Version required: 2.1
-# Date created: 6/25/1998
-# Whom: n@nectar.com
+# Version required: 2.3
+# Date created: 2/22/1999
+# Whom: nectar@FreeBSD.ORG
#
-# $Id: Makefile,v 1.9 1998/11/13 23:22:58 nectar Exp $
+# $Id: Makefile,v 1.10 1998/11/23 17:47:42 nectar Exp $
#
-DISTNAME= PyGreSQL-2.1
-PKGNAME= py-PyGreSQL-2.1
+DISTNAME= PyGreSQL-2.3
+PKGNAME= py-PyGreSQL-2.3
CATEGORIES= databases
MASTER_SITES= ftp://ftp.druid.net/pub/distrib/
EXTRACT_SUFX= .tgz
-MAINTAINER= n@nectar.com
+MAINTAINER= nectar@FreeBSD.ORG
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
RUN_DEPENDS= python:${PORTSDIR}/lang/python
LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql
-WRKSRC= ${WRKDIR}
-
MAKE_ENV= PYTHON=${PREFIX}/bin/python \
LN="${LN}" SETENV="${SETENV}" MKDIR="${MKDIR}"
diff --git a/databases/py-PyGreSQL/distinfo b/databases/py-PyGreSQL/distinfo
index 3c1b5fcd9f60..27e4fbc00e2d 100644
--- a/databases/py-PyGreSQL/distinfo
+++ b/databases/py-PyGreSQL/distinfo
@@ -1 +1 @@
-MD5 (PyGreSQL-2.1.tgz) = 132439355a273423b70f5daf852edb1f
+MD5 (PyGreSQL-2.3.tgz) = 1610aebb68f38572963a847099ad584c
diff --git a/databases/py-PyGreSQL/files/Makefile b/databases/py-PyGreSQL/files/Makefile
index 291913ae6ac5..a5a0f5988bd7 100644
--- a/databases/py-PyGreSQL/files/Makefile
+++ b/databases/py-PyGreSQL/files/Makefile
@@ -1,12 +1,14 @@
.SUFFIXES: .py .pyc
-all: pgmodule.so pgext.pyc pgtools.pyc
+SITE_PACKAGES=${PREFIX}/lib/python1.5/site-packages
+
+all: _pgmodule.so pg.pyc pgtools.pyc
install:
- @${MKDIR} ${PREFIX}/lib/site-python
- ${BSD_INSTALL_PROGRAM} pgmodule.so ${PREFIX}/lib/site-python
- ${BSD_INSTALL_DATA} pgext.py pgext.pyc pgtools.py pgtools.pyc \
- ${PREFIX}/lib/site-python
+ @${MKDIR} ${SITE_PACKAGES}
+ ${BSD_INSTALL_PROGRAM} _pgmodule.so ${SITE_PACKAGES}
+ ${BSD_INSTALL_DATA} pg.py pg.pyc pgtools.py pgtools.pyc \
+ ${SITE_PACKAGES}
clean:
rm -f *.so *.o *.pyc pgtools.py
@@ -14,7 +16,7 @@ clean:
pgtools.py: tutorial/pgtools.py
${LN} -fs ${.ALLSRC} ${.TARGET}
-pgmodule.so: pgmodule.o
+_pgmodule.so: pgmodule.o
${LD} -Bshareable -lc_r -L${PREFIX}/lib/python1.5/config -lpython1.5 \
-L${PREFIX}/pgsql/lib -lpq ${.ALLSRC} -o ${.TARGET}
diff --git a/databases/py-PyGreSQL/pkg-plist b/databases/py-PyGreSQL/pkg-plist
index f056b632f416..ad7375fb33d5 100644
--- a/databases/py-PyGreSQL/pkg-plist
+++ b/databases/py-PyGreSQL/pkg-plist
@@ -1,6 +1,6 @@
-lib/site-python/pgmodule.so
-lib/site-python/pgext.py
-lib/site-python/pgext.pyc
-lib/site-python/pgtools.py
-lib/site-python/pgtools.pyc
+lib/python1.5/site-packages/_pgmodule.so
+lib/python1.5/site-packages/pg.py
+lib/python1.5/site-packages/pg.pyc
+lib/python1.5/site-packages/pgtools.py
+lib/python1.5/site-packages/pgtools.pyc
share/doc/README.PyGreSQL