75e2839a48
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.
34 lines
958 B
Makefile
34 lines
958 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2007/01/13 21:36:19 abs Exp $
|
|
#
|
|
|
|
DISTNAME= postgresql-jdbc-8.2-${PGBUILD}.src
|
|
PKGNAME= jdbc-postgresql82-${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.2 JDBC3 driver
|
|
|
|
PGBUILD= 504
|
|
JARDIST= postgresql-8.2-${PGBUILD}.jdbc3.jar
|
|
JARFILE= postgresql82.jar
|
|
EXTRACT_ONLY= ${DISTFILES:N*.jar}
|
|
|
|
USE_JAVA= run
|
|
USE_JAVA2= 1.4
|
|
NO_BUILD= YES
|
|
|
|
DOCDIR= share/doc/java/${PKGBASE}
|
|
PLIST_SUBST+= JARFILE=${JARFILE: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}/${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${DOCDIR}
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|