blob: 9bbba7f6907ca23a3c8c9ae654ef6b7c92e56113 (
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
|
# $NetBSD: Makefile,v 1.9 2004/03/26 02:27:37 wiz Exp $
#
DISTNAME= psycopg-1.0.14
PKGNAME= ${PYPKGPREFIX}-psycopg-1.0.14
PKGREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://initd.org/pub/software/psycopg/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://initd.org/software/psycopg
COMMENT= PostgreSQL database adapter for Python
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-python=${PYTHONBIN}
CONFIGURE_ARGS+= \
--with-postgres-includes=${BUILDLINK_PREFIX.postgresql-lib}/include/postgresql\
--with-postgres-libraries=${BUILDLINK_PREFIX.postgresql-lib}/lib
# XXX ${PYSITELIB}/... doesn't get transformed by buildlink2
CONFIGURE_ARGS+= --with-mxdatetime-includes=${BUILDLINK_DIR}/include
ALL_TARGET= default
USE_BUILDLINK2= yes
PYTHON_VERSIONS_ACCEPTED= 21pth 22pth
PY_PATCHPLIST= yes
.include "../../databases/postgresql-lib/buildlink2.mk"
.include "../../lang/python/extension.mk"
.include "../../time/py-mxDateTime/buildlink2.mk"
.include "../../devel/pth/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|