diff options
-rw-r--r-- | databases/py-pyPgSQL/Makefile | 12 | ||||
-rw-r--r-- | databases/py-pyPgSQL/distinfo | 2 |
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 |