diff options
author | mva <mva@FreeBSD.org> | 2013-09-28 19:13:15 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2013-09-28 19:13:15 +0800 |
commit | 1ec7a061324e09f0cfa19d0733c74dbd80dc9996 (patch) | |
tree | 69a496f998353664c19d5adcc39836d8d3443ce5 /databases/py-PyGreSQL | |
parent | 1f8dd8ef54ff8fa32b7771423a3ad4fb46dfa55a (diff) | |
download | freebsd-ports-gnome-1ec7a061324e09f0cfa19d0733c74dbd80dc9996.tar.gz freebsd-ports-gnome-1ec7a061324e09f0cfa19d0733c74dbd80dc9996.tar.zst freebsd-ports-gnome-1ec7a061324e09f0cfa19d0733c74dbd80dc9996.zip |
- Convert to PYDISTUTILS_AUTOPLIST
- Enable stage support
- Limit to the supported python versions
- Change to new LIB_DEPENDS where necessary
- Switch to new OPTIONS framework where necessary
Diffstat (limited to 'databases/py-PyGreSQL')
-rw-r--r-- | databases/py-PyGreSQL/Makefile | 6 | ||||
-rw-r--r-- | databases/py-PyGreSQL/pkg-plist | 7 |
2 files changed, 3 insertions, 10 deletions
diff --git a/databases/py-PyGreSQL/Makefile b/databases/py-PyGreSQL/Makefile index 39a1e70d349f..14a0c9155b9a 100644 --- a/databases/py-PyGreSQL/Makefile +++ b/databases/py-PyGreSQL/Makefile @@ -15,14 +15,14 @@ COMMENT= Python interface to PostgreSQL, both classic and DP-API 2.0 USE_PGSQL= yes USE_PYTHON= -2.7 USE_PYDISTUTILS=yes +PYDISTUTILS_AUTOPLIST= yes -NO_STAGE= yes .include <bsd.port.options.mk> post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/databases/py-PyGreSQL/pkg-plist b/databases/py-PyGreSQL/pkg-plist index 8ba836328719..650d21726907 100644 --- a/databases/py-PyGreSQL/pkg-plist +++ b/databases/py-PyGreSQL/pkg-plist @@ -1,10 +1,3 @@ -%%PYTHON_SITELIBDIR%%/_pg.so -%%PYTHON_SITELIBDIR%%/pg.py -%%PYTHON_SITELIBDIR%%/pg.pyc -%%PYTHON_SITELIBDIR%%/pg.pyo -%%PYTHON_SITELIBDIR%%/pgdb.py -%%PYTHON_SITELIBDIR%%/pgdb.pyc -%%PYTHON_SITELIBDIR%%/pgdb.pyo %%PORTDOCS%%%%DOCSDIR%%/announce.html %%PORTDOCS%%%%DOCSDIR%%/announce.txt %%PORTDOCS%%%%DOCSDIR%%/changelog.html |