diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2007-06-20 23:57:26 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2007-06-20 23:57:26 +0800 |
commit | 4a600f5aa4019ce4bd6532d1ce890d9e5d57813e (patch) | |
tree | cab19ec196725b9ed2f1f45ccfb2c04f23ea94f0 /databases | |
parent | 6dcd33a3520d40d722fd88fd1ba2b1b4e7e7e2c5 (diff) | |
download | freebsd-ports-gnome-4a600f5aa4019ce4bd6532d1ce890d9e5d57813e.tar.gz freebsd-ports-gnome-4a600f5aa4019ce4bd6532d1ce890d9e5d57813e.tar.zst freebsd-ports-gnome-4a600f5aa4019ce4bd6532d1ce890d9e5d57813e.zip |
- Honour PKGNAMEPREFIX [1]
- Use DOCSDIR, EXAMPLESDIR in pkg-plist
- Things under EXAMPLESDIR should not be controlled by NOPORTDOCS
- Minor fix to pet portlint(1)
- Grab maintainership for python@
- Bump PORTREVISION
PR: ports/113876 [1]
Submitted by: Greg Skafte <skafte AT trollkarl.net>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-pyPgSQL/Makefile | 17 | ||||
-rw-r--r-- | databases/py-pyPgSQL/pkg-plist | 22 |
2 files changed, 20 insertions, 19 deletions
diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile index 0cb1e4bb1d18..b56d7c66f24e 100644 --- a/databases/py-pyPgSQL/Makefile +++ b/databases/py-pyPgSQL/Makefile @@ -7,12 +7,13 @@ PORTNAME= pyPgSQL PORTVERSION= 2.5.1 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pypgsql -PKGNAMEPREFIX= py- +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= python@FreeBSD.org COMMENT= A Python DB-API 2 compliant library for using PostgreSQL databases RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base @@ -29,16 +30,16 @@ DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py DOCSDIR= ${PREFIX}/share/doc/py-pyPgSQL EXAMPLESDIR= ${PREFIX}/share/examples/py-pyPgSQL -.if !defined(NOPORTDOCS) post-install: +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for file in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.for f in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor +.endif @${MKDIR} ${EXAMPLESDIR} -.for file in ${EXAMPLES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR} +.for f in ${EXAMPLES} + @${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR} .endfor -.endif .include <bsd.port.mk> diff --git a/databases/py-pyPgSQL/pkg-plist b/databases/py-pyPgSQL/pkg-plist index ed8f4002d025..f8a4307de36a 100644 --- a/databases/py-pyPgSQL/pkg-plist +++ b/databases/py-pyPgSQL/pkg-plist @@ -10,14 +10,14 @@ %%PYTHON_SITELIBDIR%%/pyPgSQL/libpq/libpqmodule.so @dirrm %%PYTHON_SITELIBDIR%%/pyPgSQL/libpq @dirrm %%PYTHON_SITELIBDIR%%/pyPgSQL -%%PORTDOCS%%share/doc/py-pyPgSQL/Announce -%%PORTDOCS%%share/doc/py-pyPgSQL/ChangeLog -%%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 +%%PORTDOCS%%%%DOCSDIR%%/Announce +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%EXAMPLESDIR%%/basic.py +%%EXAMPLESDIR%%/demo1a.py +%%EXAMPLESDIR%%/demo1b.py +%%EXAMPLESDIR%%/demo2a.py +%%EXAMPLESDIR%%/demo2b.py +@dirrm %%EXAMPLESDIR%% |