diff options
author | Neil Blakey-Milner <nbm@FreeBSD.org> | 2001-11-10 07:01:33 +0000 |
---|---|---|
committer | Neil Blakey-Milner <nbm@FreeBSD.org> | 2001-11-10 07:01:33 +0000 |
commit | c144bdadd9e2f6ebbf8f2a6d04c09948f38df49c (patch) | |
tree | 88d02590a225f4d2637d4749282f4bfdd0faa08d /databases/py-pyPgSQL | |
parent | upgrade 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')
-rw-r--r-- | databases/py-pyPgSQL/Makefile | 10 | ||||
-rw-r--r-- | databases/py-pyPgSQL/distinfo | 2 | ||||
-rw-r--r-- | databases/py-pyPgSQL/pkg-plist | 15 |
3 files changed, 19 insertions, 8 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} diff --git a/databases/py-pyPgSQL/distinfo b/databases/py-pyPgSQL/distinfo index d40100d58b7e..85ad9fbb9520 100644 --- a/databases/py-pyPgSQL/distinfo +++ b/databases/py-pyPgSQL/distinfo @@ -1 +1 @@ -MD5 (pypgsql-1.6.tar.gz) = 3804f543cbe6cb2805eecc4c44913aea +MD5 (pypgsql-2.0.tar.gz) = b3671864f8cddc5cfe89c4d1c365295a diff --git a/databases/py-pyPgSQL/pkg-plist b/databases/py-pyPgSQL/pkg-plist index 94fd9c4e06a6..abd2cc2bf429 100644 --- a/databases/py-pyPgSQL/pkg-plist +++ b/databases/py-pyPgSQL/pkg-plist @@ -1,6 +1,15 @@ -%%PYTHON_SITELIBDIR%%/libpqmodule.so -%%PYTHON_SITELIBDIR%%/PgSQL.py -%%PYTHON_SITELIBDIR%%/PgSQL.pyc +%%PYTHON_SITELIBDIR%%/pyPgSQL/__init__.py +%%PYTHON_SITELIBDIR%%/pyPgSQL/__init__.pyc +%%PYTHON_SITELIBDIR%%/pyPgSQL/__init__.pyo +%%PYTHON_SITELIBDIR%%/pyPgSQL/PgSQL.py +%%PYTHON_SITELIBDIR%%/pyPgSQL/PgSQL.pyc +%%PYTHON_SITELIBDIR%%/pyPgSQL/PgSQL.pyo +%%PYTHON_SITELIBDIR%%/pyPgSQL/libpq/__init__.py +%%PYTHON_SITELIBDIR%%/pyPgSQL/libpq/__init__.pyc +%%PYTHON_SITELIBDIR%%/pyPgSQL/libpq/__init__.pyo +%%PYTHON_SITELIBDIR%%/pyPgSQL/libpq/libpqmodule.so %%PORTDOCS%%share/doc/py-pyPgSQL/README +@dirrm %%PYTHON_SITELIBDIR%%/pyPgSQL/libpq +@dirrm %%PYTHON_SITELIBDIR%%/pyPgSQL @dirrm %%PORTDOCS%%share/doc/py-pyPgSQL |