blob: 55abc4336ada975c29da5249b1f4086ddb2e9414 (
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
|
# $NetBSD: Makefile,v 1.5 2003/05/05 19:05:10 jmmv Exp $
#
DISTNAME= psycopg-1.0.14
PKGNAME= ${PYPKGPREFIX}-psycopg-1.0.14
PKGREVISION= 1
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"
|