diff options
author | knu <knu@FreeBSD.org> | 2001-07-06 10:24:50 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-07-06 10:24:50 +0000 |
commit | f671f9dec4461f89d03df3b71bb49910fc043727 (patch) | |
tree | 948ed01c9b69a6301590d446c971ecb73b0cc94b /databases/py-sqlrelay | |
parent | 19155b35cc25284cda049e8ffe76621e41062a3c (diff) | |
download | FreeBSD-ports-f671f9dec4461f89d03df3b71bb49910fc043727.zip FreeBSD-ports-f671f9dec4461f89d03df3b71bb49910fc043727.tar.gz |
Add sqlrelay, a persistent DB connection pooling/proxying/load
balancing system, along with the interfaces for Java, Perl5, PHP,
Python and Ruby.
Diffstat (limited to 'databases/py-sqlrelay')
-rw-r--r-- | databases/py-sqlrelay/Makefile | 36 | ||||
-rw-r--r-- | databases/py-sqlrelay/pkg-comment | 1 | ||||
-rw-r--r-- | databases/py-sqlrelay/pkg-descr | 3 | ||||
-rw-r--r-- | databases/py-sqlrelay/pkg-plist | 6 |
4 files changed, 46 insertions, 0 deletions
diff --git a/databases/py-sqlrelay/Makefile b/databases/py-sqlrelay/Makefile new file mode 100644 index 0000000..90df483 --- /dev/null +++ b/databases/py-sqlrelay/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: Python module for SQL Relay +# Date created: 2 July 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= ${SQLRELAY_PORTNAME} +PORTVERSION= ${SQLRELAY_PORTVERSION} +CATEGORIES= databases python +MASTER_SITES= # none +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTFILES= # none + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:configure +LIB_DEPENDS= sqlrclient.0:${SQLRELAY_PORTDIR} + +USE_PYTHON= yes + +WRKSRC= ${WRKDIR}/${PORTNAME} +BUILD_WRKSRC= ${WRKSRC}/src/api/python +INSTALL_WRKSRC= ${BUILD_WRKSRC} +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \ + --with-python-prefix="${LOCALBASE}" + +.include "${.CURDIR}/../sqlrelay/Makefile.common" + +do-extract: + ${MKDIR} ${WRKDIR} + ${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC} + +.include <bsd.port.mk> diff --git a/databases/py-sqlrelay/pkg-comment b/databases/py-sqlrelay/pkg-comment new file mode 100644 index 0000000..6c70ba3 --- /dev/null +++ b/databases/py-sqlrelay/pkg-comment @@ -0,0 +1 @@ +Python modules to access to SQL Relay diff --git a/databases/py-sqlrelay/pkg-descr b/databases/py-sqlrelay/pkg-descr new file mode 100644 index 0000000..97c877a --- /dev/null +++ b/databases/py-sqlrelay/pkg-descr @@ -0,0 +1,3 @@ +This package provides Python modules to access to SQL Relay. + +WWW: http://www.firstworks.com/sqlrelay.html diff --git a/databases/py-sqlrelay/pkg-plist b/databases/py-sqlrelay/pkg-plist new file mode 100644 index 0000000..de7cae2 --- /dev/null +++ b/databases/py-sqlrelay/pkg-plist @@ -0,0 +1,6 @@ +bin/query.py +lib/%%PYTHON_VERSION%%/site-packages/SQLRelay/CSQLRelay.so +lib/%%PYTHON_VERSION%%/site-packages/SQLRelay/PySQLRClient.py +lib/%%PYTHON_VERSION%%/site-packages/SQLRelay/PySQLRDB.py +lib/%%PYTHON_VERSION%%/site-packages/SQLRelay/__init__.py +@dirrm lib/%%PYTHON_VERSION%%/site-packages/SQLRelay |