aboutsummaryrefslogtreecommitdiffstats
path: root/databases/java-sqlrelay
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-07-06 18:24:50 +0800
committerknu <knu@FreeBSD.org>2001-07-06 18:24:50 +0800
commitf671f9dec4461f89d03df3b71bb49910fc043727 (patch)
tree948ed01c9b69a6301590d446c971ecb73b0cc94b /databases/java-sqlrelay
parent19155b35cc25284cda049e8ffe76621e41062a3c (diff)
downloadfreebsd-ports-gnome-f671f9dec4461f89d03df3b71bb49910fc043727.tar.gz
freebsd-ports-gnome-f671f9dec4461f89d03df3b71bb49910fc043727.tar.zst
freebsd-ports-gnome-f671f9dec4461f89d03df3b71bb49910fc043727.zip
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/java-sqlrelay')
-rw-r--r--databases/java-sqlrelay/Makefile38
-rw-r--r--databases/java-sqlrelay/pkg-comment1
-rw-r--r--databases/java-sqlrelay/pkg-descr3
-rw-r--r--databases/java-sqlrelay/pkg-plist6
4 files changed, 48 insertions, 0 deletions
diff --git a/databases/java-sqlrelay/Makefile b/databases/java-sqlrelay/Makefile
new file mode 100644
index 000000000000..4992c28905e7
--- /dev/null
+++ b/databases/java-sqlrelay/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: Java 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 java
+MASTER_SITES= # none
+PKGNAMEPREFIX= java-
+DISTFILES= # none
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:configure \
+ ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk
+LIB_DEPENDS= sqlrclient.0:${SQLRELAY_PORTDIR}
+RUN_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk
+
+JDK_VERSION?= 1.1.8
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+BUILD_WRKSRC= ${WRKSRC}/src/api/java
+INSTALL_WRKSRC= ${BUILD_WRKSRC}
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
+ --with-java-prefix="${LOCALBASE}/jdk${JDK_VERSION}"
+
+.include "${.CURDIR}/../sqlrelay/Makefile.common"
+
+do-extract:
+ ${MKDIR} ${WRKDIR}
+ ${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC}
+
+.include <bsd.port.mk>
diff --git a/databases/java-sqlrelay/pkg-comment b/databases/java-sqlrelay/pkg-comment
new file mode 100644
index 000000000000..710ff7a8b5b5
--- /dev/null
+++ b/databases/java-sqlrelay/pkg-comment
@@ -0,0 +1 @@
+Java classes to access to SQL Relay
diff --git a/databases/java-sqlrelay/pkg-descr b/databases/java-sqlrelay/pkg-descr
new file mode 100644
index 000000000000..5561a5e060d0
--- /dev/null
+++ b/databases/java-sqlrelay/pkg-descr
@@ -0,0 +1,3 @@
+This package provides Java classes to access to SQL Relay.
+
+WWW: http://www.firstworks.com/sqlrelay.html
diff --git a/databases/java-sqlrelay/pkg-plist b/databases/java-sqlrelay/pkg-plist
new file mode 100644
index 000000000000..3413d708bb2e
--- /dev/null
+++ b/databases/java-sqlrelay/pkg-plist
@@ -0,0 +1,6 @@
+share/java/classes/SQLRConnection.class
+share/java/classes/SQLRCursor.class
+share/java/classes/libSQLRConnection.so
+share/java/classes/libSQLRCursor.so
+@unexec rmdir %D/share/java/classes || true
+@unexec rmdir %D/share/java || true