summaryrefslogtreecommitdiffstats
path: root/databases/py-PyGreSQL/Makefile
blob: e939f88f611f1b6ecfa10007a50f148bf91709e4 (plain)
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
31
32
33
# Ports collection Makefile for:	PyGreSQL
# Version required:			2.3
# Date created:				2/22/1999
# Whom:					nectar@FreeBSD.ORG
#
# $Id: Makefile,v 1.14 1999/04/08 19:05:46 billf Exp $
#

DISTNAME=		PyGreSQL-2.3
PKGNAME=		py-PyGreSQL-2.3
CATEGORIES=		databases
MASTER_SITES=		ftp://ftp.druid.net/pub/distrib/
EXTRACT_SUFX=		.tgz

MAINTAINER=		nectar@FreeBSD.ORG

BUILD_DEPENDS=		python:${PORTSDIR}/lang/python
RUN_DEPENDS=		python:${PORTSDIR}/lang/python
LIB_DEPENDS=		pq.2:${PORTSDIR}/databases/postgresql

MAKE_ENV=		PYTHON=${PREFIX}/bin/python \
			LN="${LN}" SETENV="${SETENV}" MKDIR="${MKDIR}"

CHOWN?=			chown
CHMOD?=			chmod

pre-build:
	${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile

post-install:
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/README.PyGreSQL

.include <bsd.port.mk>
OpenPOWER on IntegriCloud