- trim Makefile header - update MASTER_SITES - remove indefinite article from COMMENT - limit python version to 2.x only - convert to optionsng (NOPORTDOCS case) - patch out setuptools for from setup.py for now (mainly to not use PYEASYINSTALL_OSARCH) - update formatting in pkg-descr and change tab with space at WWW Reported by: D'Arcy J.M. Cain <darcy@PyGreSQL.org> (on ports@)
28 lines
557 B
Makefile
28 lines
557 B
Makefile
# Created by: nectar@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= PyGreSQL
|
|
PORTVERSION= 4.1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= http://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
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|