27 lines
605 B
Makefile
27 lines
605 B
Makefile
PORTNAME= PyGreSQL
|
|
PORTVERSION= 6.0
|
|
PORTEPOCH= 1
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= http://www.pygresql.org/files/ \
|
|
PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
COMMENT= Python interface to PostgreSQL, both classic and DP-API 2.0
|
|
WWW= http://www.pygresql.org/
|
|
|
|
LICENSE= PSFL
|
|
|
|
USES= pgsql python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pg/_pg*.so
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|