summaryrefslogtreecommitdiff
path: root/databases/py-pyPgSQL/Makefile
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2001-11-10 07:01:33 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2001-11-10 07:01:33 +0000
commitc144bdadd9e2f6ebbf8f2a6d04c09948f38df49c (patch)
tree88d02590a225f4d2637d4749282f4bfdd0faa08d /databases/py-pyPgSQL/Makefile
parentupgrade to 0.99 (diff)
Update of the py-pyPGSQL port to version 2.0.
PR: ports/31887 Submitted by: Gerhard Häring <gerhard@bigfoot.de> (maintainer)
Notes
Notes: svn path=/head/; revision=49910
Diffstat (limited to 'databases/py-pyPgSQL/Makefile')
-rw-r--r--databases/py-pyPgSQL/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile
index 680859814d44..9f37206c598b 100644
--- a/databases/py-pyPgSQL/Makefile
+++ b/databases/py-pyPgSQL/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: py-pypgsql
-# Date created: 01 Nov 2001
-# Whom: Gerhard Haering <gerhard@bigfoot.de>
+# Date created: 01 Nov 2001
+# Whom: Gerhard Haering <gerhard@bigfoot.de>
#
# $FreeBSD$
#
PORTNAME= pyPgSQL
-PORTVERSION= 1.6
+PORTVERSION= 2.0
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pypgsql
@@ -29,6 +29,8 @@ PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
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/pgsql" ]# ;' \
@@ -39,7 +41,7 @@ do-build:
${SETUP_CMD} build_ext --inplace
do-install:
- ${SETUP_CMD} install
+ ${SETUP_CMD} install -c -O1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOCS}