mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
a0748d649b
- Add LICENSE - Add DOCS and EXAMPLES to OPTIONS_DEFINE Changes: http://initd.org/psycopg/articles/2014/08/30/psycopg-254-released/
31 lines
757 B
Makefile
31 lines
757 B
Makefile
# Created by: Martin Wilke <miwi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= psycopg2
|
|
PORTVERSION= 2.5.4
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= http://initd.org/psycopg/tarballs/PSYCOPG-2-5/ \
|
|
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
|
|
PORTEXAMPLES= *
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
|
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
|
|
|
|
.include <bsd.port.mk>
|