blob: 13e270b6227d1b51f8ab7149a99923a61fe4ecad (
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
|
# $NetBSD: Makefile,v 1.3 2003/01/21 19:38:22 drochner Exp $
#
DISTNAME= psycopg-1.0.14
PKGNAME= ${PYPKGPREFIX}-psycopg-1.0.14
CATEGORIES= databases
MASTER_SITES= http://initd.org/pub/software/psycopg/
MAINTAINER= packages@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 "../../mk/bsd.pkg.mk"
|