ports/databases/py-PyGreSQL/Makefile
Marcus von Appen 3ca507ce12 - Convert to PYDISTUTILS_AUTOPLIST
- Enable stage support
- Limit to the supported python versions
- Change to new LIB_DEPENDS where necessary
- Switch to new OPTIONS framework where necessary
2013-09-28 11:13:15 +00:00

28 lines
612 B
Makefile

# Created by: nectar@FreeBSD.org
# $FreeBSD$
PORTNAME= PyGreSQL
PORTVERSION= 4.1.1
PORTEPOCH= 1
CATEGORIES= databases python
MASTER_SITES= http://www.pygresql.org/files/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Python interface to PostgreSQL, both classic and DP-API 2.0
USE_PGSQL= yes
USE_PYTHON= -2.7
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>