diff options
author | abs <abs@pkgsrc.org> | 2006-01-04 11:54:38 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2006-01-04 11:54:38 +0000 |
commit | 0feee7f2d4769f69c90bf7e65b6566ca3d7f711f (patch) | |
tree | 93406ab8203da35869aa2b6dfd17613f810da7ce /databases/jdbc-postgresql81 | |
parent | 02642e7a672b083071b537341718689c5559a460 (diff) | |
download | pkgsrc-0feee7f2d4769f69c90bf7e65b6566ca3d7f711f.tar.gz |
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.
Diffstat (limited to 'databases/jdbc-postgresql81')
-rw-r--r-- | databases/jdbc-postgresql81/DESCR | 7 | ||||
-rw-r--r-- | databases/jdbc-postgresql81/Makefile | 37 | ||||
-rw-r--r-- | databases/jdbc-postgresql81/PLIST | 13 | ||||
-rw-r--r-- | databases/jdbc-postgresql81/distinfo | 8 |
4 files changed, 65 insertions, 0 deletions
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 |