Changeset View
Changeset View
Standalone View
Standalone View
databases/py-psycopg2/Makefile
Show All 11 Lines | |||||
COMMENT= High performance Python adapter for PostgreSQL | COMMENT= High performance Python adapter for PostgreSQL | ||||
LICENSE= LGPL3 | LICENSE= LGPL3 | ||||
LICENSE_FILE= ${WRKSRC}/doc/COPYING.LESSER | LICENSE_FILE= ${WRKSRC}/doc/COPYING.LESSER | ||||
OPTIONS_DEFINE= DOCS EXAMPLES | OPTIONS_DEFINE= DOCS EXAMPLES | ||||
USE_PYTHON= autoplist concurrent distutils | USE_PYTHON= autoplist concurrent distutils | ||||
USES?= pgsql python | USES= pgsql python | ||||
PORTDOCS= AUTHORS INSTALL NEWS PKG-INFO README.rst | PORTDOCS= AUTHORS INSTALL NEWS PKG-INFO README.rst | ||||
PORTEXAMPLES= * | PORTEXAMPLES= * | ||||
post-install: | post-install: | ||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/psycopg2/_psycopg.so | ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/psycopg2/_psycopg.so | ||||
post-install-DOCS-on: | post-install-DOCS-on: | ||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/ | ${MKDIR} ${STAGEDIR}${DOCSDIR}/ | ||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ | cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ | ||||
post-install-EXAMPLES-on: | post-install-EXAMPLES-on: | ||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ | ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ | ||||
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ | cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |