Add sqlrelay, a persistent DB connection pooling/proxying/load
balancing system, along with the interfaces for Java, Perl5, PHP, Python and Ruby.
This commit is contained in:
46
databases/php-sqlrelay/Makefile
Normal file
46
databases/php-sqlrelay/Makefile
Normal file
@@ -0,0 +1,46 @@
|
||||
# New ports collection makefile for: PHP 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
|
||||
MASTER_SITES= # none
|
||||
PKGNAMEPREFIX= php-
|
||||
DISTFILES= # none
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:configure \
|
||||
php-config:${PORTSDIR}/www/mod_php4
|
||||
LIB_DEPENDS= sqlrclient.0:${SQLRELAY_PORTDIR}
|
||||
RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
BUILD_WRKSRC= ${WRKSRC}/src/api/php
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
|
||||
--with-php-prefix="${LOCALBASE}"
|
||||
|
||||
.include "${.CURDIR}/../sqlrelay/Makefile.common"
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKDIR}
|
||||
${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC}
|
||||
|
||||
pre-install:
|
||||
${MKDIR} `php-config --extension-dir`
|
||||
|
||||
post-install:
|
||||
dir=`php-config --extension-dir | ${SED} 's,^${LOCALBASE}/,,'`; \
|
||||
${ECHO} "$$dir/sql_relay.so" >> ${TMPPLIST}; \
|
||||
${ECHO} "@unexec rmdir %D/$$dir 2>/dev/null || true" >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
1
databases/php-sqlrelay/pkg-comment
Normal file
1
databases/php-sqlrelay/pkg-comment
Normal file
@@ -0,0 +1 @@
|
||||
PHP modules to access to SQL Relay
|
||||
3
databases/php-sqlrelay/pkg-descr
Normal file
3
databases/php-sqlrelay/pkg-descr
Normal file
@@ -0,0 +1,3 @@
|
||||
This package provides PHP modules to access to SQL Relay.
|
||||
|
||||
WWW: http://www.firstworks.com/sqlrelay.html
|
||||
1
databases/php-sqlrelay/pkg-plist
Normal file
1
databases/php-sqlrelay/pkg-plist
Normal file
@@ -0,0 +1 @@
|
||||
@comment automatically generated plist follows:
|
||||
Reference in New Issue
Block a user