aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-PyGreSQL/Makefile
blob: 971404b7222ae574ca68a60fff62a07f74856421 (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
# Created by: nectar@FreeBSD.org
# $FreeBSD$

PORTNAME=   PyGreSQL
PORTVERSION=    5.0.4
PORTEPOCH=  1
CATEGORIES= databases python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

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

LICENSE=    PSFL

USES=       pgsql python
USE_PYTHON= autoplist distutils

PORTDOCS=   *

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pg.so
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>