From 0feee7f2d4769f69c90bf7e65b6566ca3d7f711f Mon Sep 17 00:00:00 2001 From: abs Date: Wed, 4 Jan 2006 11:54:38 +0000 Subject: Import jdbc-postgresql81 into pkgsrc: This is a pure Java (Type IV) JDBC driver for the PostgreSQL database. It allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. The driver provides a reasonably complete implementation of the JDBC 3 specification in addition to some PostgreSQL specific extensions. --- databases/jdbc-postgresql81/DESCR | 7 +++++++ databases/jdbc-postgresql81/Makefile | 37 ++++++++++++++++++++++++++++++++++++ databases/jdbc-postgresql81/PLIST | 13 +++++++++++++ databases/jdbc-postgresql81/distinfo | 8 ++++++++ 4 files changed, 65 insertions(+) create mode 100644 databases/jdbc-postgresql81/DESCR create mode 100644 databases/jdbc-postgresql81/Makefile create mode 100644 databases/jdbc-postgresql81/PLIST create mode 100644 databases/jdbc-postgresql81/distinfo (limited to 'databases/jdbc-postgresql81') diff --git a/databases/jdbc-postgresql81/DESCR b/databases/jdbc-postgresql81/DESCR new file mode 100644 index 00000000000..604592cb879 --- /dev/null +++ b/databases/jdbc-postgresql81/DESCR @@ -0,0 +1,7 @@ +This is a pure Java (Type IV) JDBC driver for the PostgreSQL +database. It allows Java programs to connect to a PostgreSQL +database using standard, database independent Java code. + +The driver provides a reasonably complete implementation of the +JDBC 3 specification in addition to some PostgreSQL specific +extensions. diff --git a/databases/jdbc-postgresql81/Makefile b/databases/jdbc-postgresql81/Makefile new file mode 100644 index 00000000000..30f87a4a2b5 --- /dev/null +++ b/databases/jdbc-postgresql81/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/01/04 11:54:38 abs Exp $ +# + +DISTNAME= postgresql-jdbc-8.1-${PGBUILD}.src +PKGNAME= jdbc-postgresql81-${PGBUILD} +DISTFILES+= ${DISTNAME}.tar.gz ${JARDIST} +CATEGORIES= databases +MASTER_SITES= http://jdbc.postgresql.org/download/ + +MAINTAINER= abs@NetBSD.org +HOMEPAGE= http://jdbc.postgresql.org/ +COMMENT= PostgreSQL 8.1 JDBC3 driver + +PGBUILD= 404 +JARDIST= postgresql-8.1-${PGBUILD}.jdbc3.jar +JARFILE= postgresql81.jar +EXTRACT_ONLY= ${DISTFILES:N*.jar} + +USE_JAVA2= 1.4 +NO_BUILD= YES + +EXAMPLEDIR= share/examples/java/${PKGBASE} +DOCDIR= share/doc/java/${PKGBASE} +PLIST_SUBST+= JARFILE=${JARFILE:Q} +PLIST_SUBST+= EXAMPLEDIR=${EXAMPLEDIR:Q} +PLIST_SUBST+= DOCDIR=${DOCDIR:Q} + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/lib/java + ${INSTALL_DATA} ${DISTDIR}/${JARDIST} ${PREFIX}/lib/java/${JARFILE} + ${INSTALL_DATA_DIR} ${PREFIX}/${EXAMPLEDIR} + ${INSTALL_DATA} ${WRKSRC}/example/*.java ${PREFIX}/${EXAMPLEDIR} + ${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${DOCDIR} + +.include "../../mk/java-vm.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/jdbc-postgresql81/PLIST b/databases/jdbc-postgresql81/PLIST new file mode 100644 index 00000000000..fe6ca14db45 --- /dev/null +++ b/databases/jdbc-postgresql81/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/04 11:54:38 abs Exp $ +lib/java/${JARFILE} +${DOCDIR}/README +${EXAMPLEDIR}/ImageViewer.java +${EXAMPLEDIR}/Unicode.java +${EXAMPLEDIR}/basic.java +${EXAMPLEDIR}/blobtest.java +${EXAMPLEDIR}/datestyle.java +${EXAMPLEDIR}/metadata.java +${EXAMPLEDIR}/psql.java +${EXAMPLEDIR}/threadsafe.java +@dirrm ${EXAMPLEDIR} +@dirrm ${DOCDIR} diff --git a/databases/jdbc-postgresql81/distinfo b/databases/jdbc-postgresql81/distinfo new file mode 100644 index 00000000000..fc378e053be --- /dev/null +++ b/databases/jdbc-postgresql81/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/01/04 11:54:38 abs Exp $ + +SHA1 (postgresql-jdbc-8.1-404.src.tar.gz) = 60872374660228966b723f03bfa2ae63bd7e2b4a +RMD160 (postgresql-jdbc-8.1-404.src.tar.gz) = 2258d2ab1d743afbfeacb60e0d53b7d58de519a7 +Size (postgresql-jdbc-8.1-404.src.tar.gz) = 474266 bytes +SHA1 (postgresql-8.1-404.jdbc3.jar) = 60d123adf4c273925566c43f5c5670ddc88428a6 +RMD160 (postgresql-8.1-404.jdbc3.jar) = eb8c2b42db11e506ac60482cf70f7ac362634710 +Size (postgresql-8.1-404.jdbc3.jar) = 401336 bytes -- cgit v1.2.3