aboutsummaryrefslogtreecommitdiff
path: root/databases/py-pyPgSQL/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-06-09 16:06:47 +0000
committerPatrick Li <pat@FreeBSD.org>2002-06-09 16:06:47 +0000
commitd61caae2d6d12c34c1460cd27a44b2d9d963302e (patch)
tree5c8085587c0cbe2743559893ae9514f16f404349 /databases/py-pyPgSQL/Makefile
parentffe73f015dbc5b41c931556de6e9d84143bef6d6 (diff)
downloadports-d61caae2d6d12c34c1460cd27a44b2d9d963302e.tar.gz
ports-d61caae2d6d12c34c1460cd27a44b2d9d963302e.zip
Notes
Diffstat (limited to 'databases/py-pyPgSQL/Makefile')
-rw-r--r--databases/py-pyPgSQL/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile
index 4a9fe92715a2..c9af98d25782 100644
--- a/databases/py-pyPgSQL/Makefile
+++ b/databases/py-pyPgSQL/Makefile
@@ -5,19 +5,19 @@
# $FreeBSD$
#
-PORTNAME= pyPgSQL
-PORTVERSION= 2.0
-CATEGORIES= databases python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= pypgsql
-PKGNAMEPREFIX= py-
-DISTNAME= pypgsql-${PORTVERSION}
+PORTNAME= pyPgSQL
+PORTVERSION= 2.1
+CATEGORIES= databases python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= pypgsql
+PKGNAMEPREFIX= py-
+DISTNAME= pypgsql-${PORTVERSION}
-MAINTAINER= gerhard@bigfoot.de
+MAINTAINER= gerhard@bigfoot.de
-BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
-RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
-LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
+BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
+RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
+LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
WRKSRC= ${WRKDIR}/pypgsql
USE_PYTHON= yes
@@ -32,7 +32,7 @@ DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
DOCSDIR= ${PREFIX}/share/doc/py-pyPgSQL
post-patch:
- perl -i -p \
+ ${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
@@ -41,7 +41,7 @@ post-patch:
post-install:
@${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
- @${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif