freebsd-ports/databases/py-postgresql/Makefile

30 lines
623 B
Makefile

# $FreeBSD$
PORTNAME= postgresql
PORTVERSION= 1.1.0
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP \
http://python.projects.postgresql.org/files/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= postgresql
MAINTAINER= c.kworr@gmail.com
COMMENT= Python 3 compatible PostgreSQL database driver and tools
LICENSE= BSD
USE_ZIP= yes
USE_PGSQL= yes
USE_PYTHON= 3.1+
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= py_${PORTNAME}
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} >= 320
.include "${FILESDIR}/py3k-fix-pkg-plist.inc"
.endif
.include <bsd.port.post.mk>