d7909ee610
# Updated Brazilian Portuguese translation. (jurka) Thanks to Euler Taveira de Oliveira. # fix While the driver currently doesn't support the copy protocol, it needs to understand it enough to ignore it. Now the connection will not be irreparably broken when a COPY request is sent. (jurka) Thanks to Altaf Malik. # fix The JDBC spec says that when you have two duplicately named columns in a ResultSet, a search by name should return the first one. Previously our code was returning the second match. (jurka) Thanks to Magne Mahre.
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2008/07/16 20:54:50 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= 412
|
|
JARDIST= postgresql-8.1-${PGBUILD}.jdbc3.jar
|
|
JARFILE= postgresql81.jar
|
|
EXTRACT_ONLY= ${DISTFILES:N*.jar}
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_JAVA= run
|
|
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} ${DESTDIR}${PREFIX}/lib/java
|
|
${INSTALL_DATA} ${DISTDIR}/${JARDIST} \
|
|
${DESTDIR}${PREFIX}/lib/java/${JARFILE}
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${EXAMPLEDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/example/*.java \
|
|
${DESTDIR}${PREFIX}/${EXAMPLEDIR}
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${DOCDIR}
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|