2001-11-02 16:00:28 +01:00
|
|
|
# New ports collection makefile for: py-pypgsql
|
2001-11-10 08:01:33 +01:00
|
|
|
# Date created: 01 Nov 2001
|
2002-09-16 15:57:56 +02:00
|
|
|
# Whom: Gerhard Haering <gerhard.haering@gmx.de>
|
2001-11-02 16:00:28 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2002-06-09 18:06:47 +02:00
|
|
|
PORTNAME= pyPgSQL
|
2006-07-08 07:29:20 +02:00
|
|
|
PORTVERSION= 2.5.1
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 3
|
2002-06-09 18:06:47 +02:00
|
|
|
CATEGORIES= databases python
|
2009-08-22 02:18:43 +02:00
|
|
|
MASTER_SITES= SF
|
2007-06-20 17:57:26 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2001-11-02 16:00:28 +01:00
|
|
|
|
2007-06-20 17:57:26 +02:00
|
|
|
MAINTAINER= python@FreeBSD.org
|
2003-02-21 12:15:57 +01:00
|
|
|
COMMENT= A Python DB-API 2 compliant library for using PostgreSQL databases
|
2001-11-02 16:00:28 +01:00
|
|
|
|
2002-06-09 18:06:47 +02:00
|
|
|
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
2001-11-02 16:00:28 +01:00
|
|
|
|
2005-01-31 01:35:55 +01:00
|
|
|
USE_PGSQL= yes
|
2001-11-02 16:00:28 +01:00
|
|
|
USE_PYTHON= yes
|
2002-04-29 15:33:57 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
2001-11-02 16:00:28 +01:00
|
|
|
|
2006-07-08 07:29:20 +02:00
|
|
|
DOCS= Announce ChangeLog README README.html
|
2003-01-02 20:28:46 +01:00
|
|
|
EXAMPLES= examples/*.py
|
2001-11-02 16:00:28 +01:00
|
|
|
|
|
|
|
DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
|
|
|
|
|
2001-11-10 08:01:33 +01:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-pyPgSQL
|
2003-01-02 20:28:46 +01:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-pyPgSQL
|
2001-11-02 16:00:28 +01:00
|
|
|
|
2002-04-29 15:33:57 +02:00
|
|
|
post-install:
|
2007-06-20 17:57:26 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-11-02 16:00:28 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2007-06-20 17:57:26 +02:00
|
|
|
.for f in ${DOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
2003-01-02 20:28:46 +01:00
|
|
|
.endfor
|
2007-06-20 17:57:26 +02:00
|
|
|
.endif
|
2007-06-20 23:24:22 +02:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2003-01-02 20:28:46 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2007-06-20 17:57:26 +02:00
|
|
|
.for f in ${EXAMPLES}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}
|
2001-11-02 16:00:28 +01:00
|
|
|
.endfor
|
2007-06-20 23:24:22 +02:00
|
|
|
.endif
|
2001-11-02 16:00:28 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|