diff options
author | Sean Chittenden <seanc@FreeBSD.org> | 2003-01-04 23:36:44 +0000 |
---|---|---|
committer | Sean Chittenden <seanc@FreeBSD.org> | 2003-01-04 23:36:44 +0000 |
commit | 8f87e4c8f35845bc9d7ee99e6ba8282f8e2b0dfe (patch) | |
tree | d9d6eaffdcde74c07abe624b8178b3c9310b8291 /databases/postgresql-jdbc | |
parent | Install lanman.chr. (diff) |
Update PostgreSQL JDBC for 7.3.1.
PR: ports/45881
Submitted by: Palle Girgensohn <girgen@pingpong.net>
Notes
Notes:
svn path=/head/; revision=72538
Diffstat (limited to 'databases/postgresql-jdbc')
-rw-r--r-- | databases/postgresql-jdbc/Makefile | 15 | ||||
-rw-r--r-- | databases/postgresql-jdbc/pkg-plist | 18 |
2 files changed, 14 insertions, 19 deletions
diff --git a/databases/postgresql-jdbc/Makefile b/databases/postgresql-jdbc/Makefile index 1b524dadc2eb..90885b5f8a87 100644 --- a/databases/postgresql-jdbc/Makefile +++ b/databases/postgresql-jdbc/Makefile @@ -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> diff --git a/databases/postgresql-jdbc/pkg-plist b/databases/postgresql-jdbc/pkg-plist index 6e2eb16451f9..6cc6d4399485 100644 --- a/databases/postgresql-jdbc/pkg-plist +++ b/databases/postgresql-jdbc/pkg-plist @@ -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 |