1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update PostgreSQL JDBC for 7.3.1.

PR:		ports/45881
Submitted by:	Palle Girgensohn <girgen@pingpong.net>
This commit is contained in:
Sean Chittenden 2003-01-04 23:36:44 +00:00
parent c28b6b8c24
commit 8f87e4c8f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72538
2 changed files with 14 additions and 19 deletions

View File

@ -8,40 +8,37 @@
PORTNAME= postgresql-jdbc
CATEGORIES= databases java
MAINTAINER= girgen@partitur.se
MAINTAINER= girgen@pingpong.net
BUILD_DEPENDS= ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/jakarta-ant
POSTGRESQL_PORT?= databases/postgresql7
POSTGRESQL_SUBPORT=YES
.include <${.CURDIR}/../postgresql7/Makefile>
.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile>
CONFIGURE_ARGS= --with-java
USE_JAVA= 1.2+
USE_JAVA= 1.1+
CONFIGURE_ENV= JAVA_HOME="${JAVA_HOME}"
MAKE_ENV+= JAVA_HOME="${JAVA_HOME}"
MAKE_ARGS+= -C src/interfaces/jdbc
post-build:
@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C contrib/retep
post-install:
@ ${MKDIR} -m 0555 ${PREFIX}/share/java/classes ;\
${INSTALL_DATA} ${WRKSRC}/src/interfaces/jdbc/jars/postgresql.jar \
${PREFIX}/share/java/classes/postgresql.jar
@ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C contrib/retep install
.if !defined(NOPORTDOCS)
@ ${MKDIR} -m 0555 ${PREFIX}/share/examples/postgresql ;\
cd ${WRKSRC}/src/interfaces/jdbc/example ;\
pax -rw . ${PREFIX}/share/examples/postgresql
.for i in README Implementation
.for i in README
@ ${INSTALL_DATA} ${WRKSRC}/src/interfaces/jdbc/$i \
${PREFIX}/share/examples/postgresql
.endfor
.endif
@ ${ECHO} ==================================== ;\
${SED} -e "s,/usr/local,${PREFIX},g" pkg-message ;\
${SED} -e "s,/usr/local,${PREFIX},g" ${PKGDIR}/pkg-message ;\
${ECHO} ====================================
.include <bsd.port.mk>

View File

@ -1,3 +1,8 @@
%%PORTDOCS%%share/examples/postgresql/ImageViewer.java
%%PORTDOCS%%share/examples/postgresql/README
%%PORTDOCS%%share/examples/postgresql/Unicode.java
%%PORTDOCS%%share/examples/postgresql/basic.java
%%PORTDOCS%%share/examples/postgresql/blobtest.java
%%PORTDOCS%%share/examples/postgresql/corba/StockClient.java
%%PORTDOCS%%share/examples/postgresql/corba/StockDB.java
%%PORTDOCS%%share/examples/postgresql/corba/StockDispenserImpl.java
@ -6,21 +11,14 @@
%%PORTDOCS%%share/examples/postgresql/corba/readme
%%PORTDOCS%%share/examples/postgresql/corba/stock.idl
%%PORTDOCS%%share/examples/postgresql/corba/stock.sql
%%PORTDOCS%%@dirrm share/examples/postgresql/corba
%%PORTDOCS%%share/examples/postgresql/ImageViewer.java
%%PORTDOCS%%share/examples/postgresql/Unicode.java
%%PORTDOCS%%share/examples/postgresql/basic.java
%%PORTDOCS%%share/examples/postgresql/blobtest.java
%%PORTDOCS%%share/examples/postgresql/datestyle.java
%%PORTDOCS%%share/examples/postgresql/metadata.java
%%PORTDOCS%%share/examples/postgresql/psql.java
%%PORTDOCS%%share/examples/postgresql/threadsafe.java
%%PORTDOCS%%share/examples/postgresql/README
%%PORTDOCS%%share/examples/postgresql/Implementation
%%PORTDOCS%%@dirrm share/examples/postgresql
share/java/classes/postgresql.jar
%%PORTDOCS%%@dirrm share/examples/postgresql/corba
@unexec rmdir %D/share/examples/postgresql 2>/dev/null || true
share/postgresql/java/postgresql-examples.jar
share/postgresql/java/postgresql.jar
share/postgresql/java/retepTools.jar
@dirrm share/postgresql/java
@unexec rmdir %D/share/postgresql 2>/dev/null || true
share/java/classes/postgresql.jar