aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-16 13:57:56 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-16 13:57:56 +0000
commit39d5845adfc47c87e9379f0dfbbe10f083d85c26 (patch)
tree9a1def8f180b5fbdd895dcfb70b8e5019c561cfd /databases
parent53376699de1936414bdc36f13bcaba25757c5ef5 (diff)
downloadports-39d5845adfc47c87e9379f0dfbbe10f083d85c26.tar.gz
ports-39d5845adfc47c87e9379f0dfbbe10f083d85c26.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/py-pyPgSQL/Makefile12
-rw-r--r--databases/py-pyPgSQL/distinfo2
2 files changed, 6 insertions, 8 deletions
diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile
index c9af98d25782..095839fb50ac 100644
--- a/databases/py-pyPgSQL/Makefile
+++ b/databases/py-pyPgSQL/Makefile
@@ -1,19 +1,19 @@
# New ports collection makefile for: py-pypgsql
# Date created: 01 Nov 2001
-# Whom: Gerhard Haering <gerhard@bigfoot.de>
+# Whom: Gerhard Haering <gerhard.haering@gmx.de>
#
# $FreeBSD$
#
PORTNAME= pyPgSQL
-PORTVERSION= 2.1
+PORTVERSION= 2.2
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pypgsql
PKGNAMEPREFIX= py-
DISTNAME= pypgsql-${PORTVERSION}
-MAINTAINER= gerhard@bigfoot.de
+MAINTAINER= gerhard.haering@gmx.de
BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
@@ -22,6 +22,7 @@ LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
WRKSRC= ${WRKDIR}/pypgsql
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_REINPLACE= YES
DOCS= README
@@ -32,10 +33,7 @@ DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
DOCSDIR= ${PREFIX}/share/doc/py-pyPgSQL
post-patch:
- ${PERL} -i -p \
- -e 's#^include_dirs = \[ "/usr/local/pgsql/include" \]#include_dirs = [ "${LOCALBASE}/include" ]# ;' \
- -e 's#^library_dirs = \[ "/usr/local/pgsql/lib" \]#library_dirs = [ "${LOCALBASE}/lib" ]#' \
- ${WRKSRC}/setup.py
+ ${REINPLACE_CMD} -e "s/\/usr\/local\/pgsql/$${LOCALBASE}/g" ${WRKSRC}/setup.py
.if !defined(NOPORTDOCS)
post-install:
diff --git a/databases/py-pyPgSQL/distinfo b/databases/py-pyPgSQL/distinfo
index 359c633ee705..e7736e4adba3 100644
--- a/databases/py-pyPgSQL/distinfo
+++ b/databases/py-pyPgSQL/distinfo
@@ -1 +1 @@
-MD5 (pypgsql-2.1.tar.gz) = c7ec473a5bf64d0c2ee166d4dd2b42af
+MD5 (pypgsql-2.2.tar.gz) = 2a490eac49e8ead34d0167905072604a