1998-07-06 17:45:35 +00:00
|
|
|
# Ports collection Makefile for: PyGreSQL
|
1999-02-23 00:28:15 +00:00
|
|
|
# Date created: 2/22/1999
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: nectar@FreeBSD.org
|
1998-07-06 17:45:35 +00:00
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1998-07-06 17:45:35 +00:00
|
|
|
#
|
|
|
|
|
2000-10-03 13:52:51 +00:00
|
|
|
PORTNAME= PyGreSQL
|
|
|
|
PORTVERSION= 3.0
|
1999-05-28 20:56:29 +00:00
|
|
|
CATEGORIES= databases python
|
2000-06-20 13:37:39 +00:00
|
|
|
MASTER_SITES= ftp://ftp.druid.net/pub/distrib/
|
2000-10-03 13:52:51 +00:00
|
|
|
PKGNAMEPREFIX= py-
|
2000-04-08 22:49:07 +00:00
|
|
|
DISTNAME= PyGreSQL-${PORTVERSION}
|
1998-07-06 17:45:35 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= nectar@FreeBSD.org
|
1998-07-06 17:45:35 +00:00
|
|
|
|
2000-10-03 13:52:51 +00:00
|
|
|
BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/devel/py-mxDateTime
|
|
|
|
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/devel/py-mxDateTime
|
2000-08-26 09:15:05 +00:00
|
|
|
LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
|
1998-07-06 17:45:35 +00:00
|
|
|
|
2000-10-03 13:52:51 +00:00
|
|
|
USE_PYTHON= yes
|
|
|
|
MAKE_ENV= PYTHON_VERSION=${PYTHON_VERSION} \
|
|
|
|
PYTHON_LIBDIR=${PYTHON_LIBDIR} \
|
|
|
|
PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
|
|
|
|
PYTHON=${PYTHON_CMD} \
|
1998-11-13 23:22:58 +00:00
|
|
|
LN="${LN}" SETENV="${SETENV}" MKDIR="${MKDIR}"
|
1998-07-06 17:45:35 +00:00
|
|
|
|
2000-10-03 13:52:51 +00:00
|
|
|
DATETIME_DEP= ${PYTHON_SITELIBDIR}/DateTime/__init__.py
|
|
|
|
|
1998-11-13 23:22:58 +00:00
|
|
|
pre-build:
|
|
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
|
1998-07-06 17:45:35 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/README.PyGreSQL
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|