diff options
author | abs <abs@pkgsrc.org> | 2006-01-04 11:48:41 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2006-01-04 11:48:41 +0000 |
commit | 49b33b76fc92b09d10921ce468dcf866fb6c4dfd (patch) | |
tree | 9ab7189da1c18c798f14b1b1c73f1fa2383b2168 /databases | |
parent | 8392771a1e1479235671d366e205e6a409208a65 (diff) | |
download | pkgsrc-49b33b76fc92b09d10921ce468dcf866fb6c4dfd.tar.gz |
Import postgresql81-jdbc
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.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql81-jdbc/DESCR | 7 | ||||
-rw-r--r-- | databases/postgresql81-jdbc/Makefile | 37 | ||||
-rw-r--r-- | databases/postgresql81-jdbc/PLIST | 13 | ||||
-rw-r--r-- | databases/postgresql81-jdbc/distinfo | 8 |
4 files changed, 65 insertions, 0 deletions
diff --git a/databases/postgresql81-jdbc/DESCR b/databases/postgresql81-jdbc/DESCR new file mode 100644 index 00000000000..604592cb879 --- /dev/null +++ b/databases/postgresql81-jdbc/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/postgresql81-jdbc/Makefile b/databases/postgresql81-jdbc/Makefile new file mode 100644 index 00000000000..96d1836f3e9 --- /dev/null +++ b/databases/postgresql81-jdbc/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/01/04 11:48:41 abs Exp $ +# + +DISTNAME= postgresql-jdbc-8.1-${PGBUILD}.src +PKGNAME= postgresql81-jdbc-${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/postgresql81-jdbc/PLIST b/databases/postgresql81-jdbc/PLIST new file mode 100644 index 00000000000..ba35dcd229f --- /dev/null +++ b/databases/postgresql81-jdbc/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/04 11:48:41 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/postgresql81-jdbc/distinfo b/databases/postgresql81-jdbc/distinfo new file mode 100644 index 00000000000..208e9a1f1e2 --- /dev/null +++ b/databases/postgresql81-jdbc/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/01/04 11:48:41 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 |