aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-PyGreSQL/Makefile
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2000-10-03 21:52:51 +0800
committernectar <nectar@FreeBSD.org>2000-10-03 21:52:51 +0800
commiteaf4bf3c55ac2aa2bda10e9978c8552feef37cd0 (patch)
tree588681fb8587638f354e9ebbfaf2d90e9da5e4dd /databases/py-PyGreSQL/Makefile
parentd2e2b29caca5c1ee90169912f3280a6f7c60d2eb (diff)
downloadfreebsd-ports-gnome-eaf4bf3c55ac2aa2bda10e9978c8552feef37cd0.tar.gz
freebsd-ports-gnome-eaf4bf3c55ac2aa2bda10e9978c8552feef37cd0.tar.zst
freebsd-ports-gnome-eaf4bf3c55ac2aa2bda10e9978c8552feef37cd0.zip
Update 2.4 -> 3.0
Diffstat (limited to 'databases/py-PyGreSQL/Makefile')
-rw-r--r--databases/py-PyGreSQL/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/databases/py-PyGreSQL/Makefile b/databases/py-PyGreSQL/Makefile
index f2babb0faebc..3f2d5cfc02e7 100644
--- a/databases/py-PyGreSQL/Makefile
+++ b/databases/py-PyGreSQL/Makefile
@@ -5,22 +5,29 @@
# $FreeBSD$
#
-PORTNAME= py-PyGreSQL
-PORTVERSION= 2.4
+PORTNAME= PyGreSQL
+PORTVERSION= 3.0
CATEGORIES= databases python
MASTER_SITES= ftp://ftp.druid.net/pub/distrib/
+PKGNAMEPREFIX= py-
DISTNAME= PyGreSQL-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= nectar@FreeBSD.org
-BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
-RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python15
+BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/devel/py-mxDateTime
+RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/devel/py-mxDateTime
LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
-MAKE_ENV= PYTHON=${PREFIX}/bin/python \
+USE_PYTHON= yes
+MAKE_ENV= PYTHON_VERSION=${PYTHON_VERSION} \
+ PYTHON_LIBDIR=${PYTHON_LIBDIR} \
+ PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
+ PYTHON=${PYTHON_CMD} \
LN="${LN}" SETENV="${SETENV}" MKDIR="${MKDIR}"
+DATETIME_DEP= ${PYTHON_SITELIBDIR}/DateTime/__init__.py
+
pre-build:
${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile