From fc587d5191ecd1e9e06ef27943c49d74b5076fd0 Mon Sep 17 00:00:00 2001 From: Ruslan Makhmatkhanov Date: Thu, 3 Jan 2013 17:44:14 +0000 Subject: - update to 4.1 - 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 (on ports@) --- databases/py-PyGreSQL/Makefile | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'databases/py-PyGreSQL/Makefile') diff --git a/databases/py-PyGreSQL/Makefile b/databases/py-PyGreSQL/Makefile index 6a1cd301309f..95a6a4123260 100644 --- a/databases/py-PyGreSQL/Makefile +++ b/databases/py-PyGreSQL/Makefile @@ -1,28 +1,25 @@ -# Ports collection Makefile for: PyGreSQL -# Date created: 2/22/1999 -# Whom: nectar@FreeBSD.org -# +# Created by: nectar@FreeBSD.org # $FreeBSD$ -# PORTNAME= PyGreSQL -PORTVERSION= 4.0 +PORTVERSION= 4.1 PORTEPOCH= 1 CATEGORIES= databases python -MASTER_SITES= CHEESESHOP \ - ftp://ftp.pygresql.org/pub/distrib/ +MASTER_SITES= http://pygresql.org/files/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -COMMENT= A Python interface to PostgreSQL, both classic and DP-API 2.0 +COMMENT= Python interface to PostgreSQL, both classic and DP-API 2.0 -USE_PGSQL= yes -USE_PYTHON= yes -USE_PYDISTUTILS= yes -DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py +USE_PGSQL= yes +USE_PYTHON= -2.7 +USE_PYDISTUTILS=yes + +.include post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR} .endif -- cgit v1.3