aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-PyGreSQL/Makefile
blob: 86387d3e145806c25ae381dcef88921966d43ae5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: nectar@FreeBSD.org
# $FreeBSD$

PORTNAME=   PyGreSQL
PORTVERSION=    4.1.1
PORTEPOCH=  1
CATEGORIES= databases python
MASTER_SITES=   http://www.pygresql.org/files/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python interface to PostgreSQL, both classic and DP-API 2.0

USE_PGSQL=  yes
USE_PYTHON= -2.7
USE_PYDISTUTILS=yes

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    @cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif

.include <bsd.port.mk>