diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-07-06 10:24:50 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-07-06 10:24:50 +0000 |
commit | a38514987227418282c88beb65ecea623dcc1afe (patch) | |
tree | 930fcd265b002faffbbf5b2963844328d1424154 /databases/p5-sqlrelay | |
parent | Update to version 1.5.1. (diff) |
Add sqlrelay, a persistent DB connection pooling/proxying/load
balancing system, along with the interfaces for Java, Perl5, PHP,
Python and Ruby.
Notes
Notes:
svn path=/head/; revision=44822
Diffstat (limited to 'databases/p5-sqlrelay')
-rw-r--r-- | databases/p5-sqlrelay/Makefile | 56 | ||||
-rw-r--r-- | databases/p5-sqlrelay/pkg-comment | 1 | ||||
-rw-r--r-- | databases/p5-sqlrelay/pkg-descr | 4 | ||||
-rw-r--r-- | databases/p5-sqlrelay/pkg-plist | 17 |
4 files changed, 78 insertions, 0 deletions
diff --git a/databases/p5-sqlrelay/Makefile b/databases/p5-sqlrelay/Makefile new file mode 100644 index 000000000000..ffa20e31c130 --- /dev/null +++ b/databases/p5-sqlrelay/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: Perl5 modules 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 perl5 +MASTER_SITES= # none +PKGNAMEPREFIX= p5- +DISTFILES= # none + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:configure \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +LIB_DEPENDS= sqlrclient.0:${SQLRELAY_PORTDIR} +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI + +USE_PERL5= yes + +WRKSRC= ${WRKDIR}/${PORTNAME} +MAKEFILE= Makefile.master +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \ + --with-perl-prefix="/usr" + +MAN3= DBD::SQLRelay.3 \ + Firstworks::SQLRConnection.3 \ + Firstworks::SQLRCursor.3 +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include "${.CURDIR}/../sqlrelay/Makefile.common" + +do-extract: + ${MKDIR} ${WRKDIR} + ${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC} + +do-build: + for dir in ${WRKSRC}/src/api/perl/*; do \ + cd $$dir && \ + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \ + ${MAKE_ARGS} ${ALL_TARGET}; \ + done + +do-install: + for dir in ${WRKSRC}/src/api/perl/*; do \ + cd $$dir && \ + ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ + ${MAKE_ARGS} ${INSTALL_TARGET}; \ + done + +.include <bsd.port.mk> diff --git a/databases/p5-sqlrelay/pkg-comment b/databases/p5-sqlrelay/pkg-comment new file mode 100644 index 000000000000..3b7ff5e3ca87 --- /dev/null +++ b/databases/p5-sqlrelay/pkg-comment @@ -0,0 +1 @@ +Perl5 modules to access to SQL Relay, including a DBD interface diff --git a/databases/p5-sqlrelay/pkg-descr b/databases/p5-sqlrelay/pkg-descr new file mode 100644 index 000000000000..ba41f340095d --- /dev/null +++ b/databases/p5-sqlrelay/pkg-descr @@ -0,0 +1,4 @@ +This package provides Perl5 modules to access to SQL Relay, including +a DBD interface. + +WWW: http://www.firstworks.com/sqlrelay.html diff --git a/databases/p5-sqlrelay/pkg-plist b/databases/p5-sqlrelay/pkg-plist new file mode 100644 index 000000000000..d12657193efc --- /dev/null +++ b/databases/p5-sqlrelay/pkg-plist @@ -0,0 +1,17 @@ +lib/perl5/site_perl/%%PERL_VER%%/DBD/SQLRelay.pm +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBD 2>/dev/null || true +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/SQLRelay/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD/SQLRelay +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Firstworks/SQLRConnection.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection/SQLRConnection.so +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection/SQLRConnection.bs +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRConnection +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Firstworks/SQLRCursor.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor/SQLRCursor.so +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor/SQLRCursor.bs +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks/SQLRCursor +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Firstworks 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Firstworks 2>/dev/null || true |