aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-PyGreSQL/Makefile
blob: 6a1cd301309f105f0b7163e7acc302d8039ffb57 (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
28
29
30
# Ports collection Makefile for:    PyGreSQL
# Date created:             2/22/1999
# Whom:                 nectar@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   PyGreSQL
PORTVERSION=    4.0
PORTEPOCH=  1
CATEGORIES= databases python
MASTER_SITES=   CHEESESHOP \
        ftp://ftp.pygresql.org/pub/distrib/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

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

USE_PGSQL=      yes
USE_PYTHON=     yes
USE_PYDISTUTILS=    yes
DATETIME_DEP=   ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif

.include <bsd.port.mk>