pkgsrc/databases/py-psycopg/Makefile

28 lines
829 B
Makefile

# $NetBSD: Makefile,v 1.26 2006/10/14 08:01:39 wiz Exp $
#
DISTNAME= psycopg-1.1.21
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://initd.org/pub/software/psycopg/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://initd.org/projects/psycopg1/
COMMENT= PostgreSQL database adapter for Python
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-python=${PYTHONBIN:Q}
CONFIGURE_ARGS+= \
--with-postgres-includes=${PGSQL_PREFIX}/include/postgresql\
--with-postgres-libraries=${PGSQL_PREFIX}/lib
BUILD_TARGET= default
PYTHON_VERSIONS_ACCEPTED= 24 23 22 21
PY_PATCHPLIST= yes
.include "../../lang/python/extension.mk"
.include "../../time/py-mxDateTime/buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"