aboutsummaryrefslogtreecommitdiff
path: root/databases/py-PyGreSQL/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-09-19 21:44:27 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-09-19 21:44:27 +0000
commitceb626e3cffebb9dc4858841335f0efc3dd6f87c (patch)
treeb231d5777ddf70d0ed6c6f10eed340f5a8fb8943 /databases/py-PyGreSQL/Makefile
parent2e73a828b04322ce561b3c9ba03e324607543ddc (diff)
downloadports-ceb626e3cffebb9dc4858841335f0efc3dd6f87c.tar.gz
ports-ceb626e3cffebb9dc4858841335f0efc3dd6f87c.zip
Notes
Diffstat (limited to 'databases/py-PyGreSQL/Makefile')
-rw-r--r--databases/py-PyGreSQL/Makefile36
1 files changed, 8 insertions, 28 deletions
diff --git a/databases/py-PyGreSQL/Makefile b/databases/py-PyGreSQL/Makefile
index f7951ce097d1..0440f4ce3126 100644
--- a/databases/py-PyGreSQL/Makefile
+++ b/databases/py-PyGreSQL/Makefile
@@ -6,45 +6,25 @@
#
PORTNAME= PyGreSQL
-PORTVERSION= 3.8.1
-PORTREVISION= 1
+PORTVERSION= 4.0
PORTEPOCH= 1
CATEGORIES= databases python
-MASTER_SITES= ftp://ftp.pygresql.org/pub/distrib/
+MASTER_SITES= CHEESESHOP \
+ ftp://ftp.pygresql.org/pub/distrib/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-EXTRACT_SUFX= .tgz
MAINTAINER= girgen@FreeBSD.org
COMMENT= A Python interface to PostgreSQL, both classic and DP-API 2.0
-BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
-RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
-
-USE_PGSQL= yes
-USE_PYTHON= yes
+USE_PGSQL= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
-INSTALLS_EGGINFO= yes
-
-pre-build:
- @ cd ${WRKSRC} ; ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' setup.py
-
-do-build:
- @ cd ${WRKSRC} ; ${PYTHON_CMD} setup.py build
-
-do-install:
- @ cd ${WRKSRC} ; ${PYTHON_CMD} setup.py install
post-install:
- @ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -lf \
- ${PYTHONPREFIX_SITELIBDIR}
- @ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -lf \
- ${PYTHONPREFIX_SITELIBDIR}
.if !defined(NOPORTDOCS)
-.for docfile in announce.txt changelog.txt pg.txt pgdb.txt
- @ ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/${docfile} \
- ${DOCSDIR}
-.endfor
+ @${MKDIR} ${DOCSDIR}
+ @cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.include <bsd.port.mk>