freebsd-ports/databases/py-psycopg2/Makefile
Sunpoet Po-Chuan Hsieh 0e7ad38c34 - Strip shared library
- Bump PORTREVISION for package change
2015-09-02 17:03:23 +00:00

36 lines
914 B
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= psycopg2
PORTVERSION= 2.6.1
PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://initd.org/psycopg/tarballs/PSYCOPG-${PORTVERSION:R:S|.|-|}/ \
CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= High performance Python adapter for PostgreSQL
LICENSE= LGPL3
OPTIONS_DEFINE= DOCS EXAMPLES
USE_PYTHON= autoplist concurrent distutils
USES= pgsql python
PORTDOCS= AUTHORS INSTALL NEWS PKG-INFO README.rst
PORTEXAMPLES= *
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/psycopg2/_psycopg.so
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>