diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-01-02 19:28:46 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-01-02 19:28:46 +0000 |
commit | 1fa008a4fe05f7618801c9886afdacc60b4afb5f (patch) | |
tree | 2b80ebc7519687bcaccdb399b8262a49db39ac32 /databases/py-pyPgSQL | |
parent | 9dae8a95b80bb7b7e0f71af32370b1b8dbba37d7 (diff) | |
download | ports-1fa008a4fe05f7618801c9886afdacc60b4afb5f.tar.gz ports-1fa008a4fe05f7618801c9886afdacc60b4afb5f.zip |
Notes
Diffstat (limited to 'databases/py-pyPgSQL')
-rw-r--r-- | databases/py-pyPgSQL/Makefile | 18 | ||||
-rw-r--r-- | databases/py-pyPgSQL/distinfo | 2 | ||||
-rw-r--r-- | databases/py-pyPgSQL/pkg-descr | 2 | ||||
-rw-r--r-- | databases/py-pyPgSQL/pkg-plist | 9 |
4 files changed, 19 insertions, 12 deletions
diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile index 44b6fddef8dd..ad2d6e02ce28 100644 --- a/databases/py-pyPgSQL/Makefile +++ b/databases/py-pyPgSQL/Makefile @@ -6,12 +6,12 @@ # PORTNAME= pyPgSQL -PORTVERSION= 2.2 +PORTVERSION= 2.3 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pypgsql PKGNAMEPREFIX= py- -DISTNAME= pypgsql-${PORTVERSION} +DISTNAME= pyPgSQL-${PORTVERSION} MAINTAINER= gerhard.haering@gmx.de @@ -21,18 +21,14 @@ LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7 WRKSRC= ${WRKDIR}/pypgsql USE_PYTHON= yes USE_PYDISTUTILS= yes -USE_REINPLACE= YES -DOCS= README - -PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} +DOCS= README README.html +EXAMPLES= examples/*.py DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py DOCSDIR= ${PREFIX}/share/doc/py-pyPgSQL - -post-patch: - ${REINPLACE_CMD} -e 's^/usr/local^${LOCALBASE}^g' ${WRKSRC}/setup.py +EXAMPLESDIR= ${PREFIX}/share/examples/py-pyPgSQL .if !defined(NOPORTDOCS) post-install: @@ -40,6 +36,10 @@ post-install: .for file in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor + @${MKDIR} ${EXAMPLESDIR} +.for file in ${EXAMPLES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR} +.endfor .endif .include <bsd.port.mk> diff --git a/databases/py-pyPgSQL/distinfo b/databases/py-pyPgSQL/distinfo index e7736e4adba3..2592a8dcdce7 100644 --- a/databases/py-pyPgSQL/distinfo +++ b/databases/py-pyPgSQL/distinfo @@ -1 +1 @@ -MD5 (pypgsql-2.2.tar.gz) = 2a490eac49e8ead34d0167905072604a +MD5 (pyPgSQL-2.3.tar.gz) = 4c614b0b240efc098010488aede00fef diff --git a/databases/py-pyPgSQL/pkg-descr b/databases/py-pyPgSQL/pkg-descr index fca21ad66902..eaac6ef29ac3 100644 --- a/databases/py-pyPgSQL/pkg-descr +++ b/databases/py-pyPgSQL/pkg-descr @@ -9,4 +9,4 @@ written in Python. WWW: http://pypgsql.sourceforge.net/ developed by Bill Allie et al -- Gerhard Haering <gerhard@bigfoot.de> +- Gerhard Haering <gerhard.haering@gmx.de> diff --git a/databases/py-pyPgSQL/pkg-plist b/databases/py-pyPgSQL/pkg-plist index 0c3291aa01d2..e861d1bc60f7 100644 --- a/databases/py-pyPgSQL/pkg-plist +++ b/databases/py-pyPgSQL/pkg-plist @@ -8,7 +8,14 @@ %%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 +%%PORTDOCS%%share/doc/py-pyPgSQL/README +%%PORTDOCS%%share/doc/py-pyPgSQL/README.html %%PORTDOCS%%@dirrm share/doc/py-pyPgSQL +%%PORTDOCS%%share/examples/py-pyPgSQL/basic.py +%%PORTDOCS%%share/examples/py-pyPgSQL/demo1a.py +%%PORTDOCS%%share/examples/py-pyPgSQL/demo1b.py +%%PORTDOCS%%share/examples/py-pyPgSQL/demo2a.py +%%PORTDOCS%%share/examples/py-pyPgSQL/demo2b.py +%%PORTDOCS%%@dirrm share/examples/py-pyPgSQL |