diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2003-09-04 12:03:58 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2003-09-04 12:03:58 +0000 |
commit | 9b85538a2a576a9f32e570357d437b4f1caa51e0 (patch) | |
tree | e0617b111d41e0437ff9f5af41bb9deea6d0c2a6 /databases/postgresql-jdbc | |
parent | Update to 0.05. (diff) |
Use new depends scheme for postgresql slave ports:
${MAKE} -V ... instead of .include <...>
Utilize ${EXAMPLESDIR} [1]
Submitted by: Palle Girgensohn <girgen@pingpong.net> (maintainer),
osa [1]
PR: 56346, 56404
Notes
Notes:
svn path=/head/; revision=88519
Diffstat (limited to 'databases/postgresql-jdbc')
-rw-r--r-- | databases/postgresql-jdbc/Makefile | 23 | ||||
-rw-r--r-- | databases/postgresql-jdbc/pkg-plist | 38 |
2 files changed, 34 insertions, 27 deletions
diff --git a/databases/postgresql-jdbc/Makefile b/databases/postgresql-jdbc/Makefile index 4b5418ff2f29..a26e4d01eead 100644 --- a/databases/postgresql-jdbc/Makefile +++ b/databases/postgresql-jdbc/Makefile @@ -4,20 +4,27 @@ # # $FreeBSD$ # +POSTGRESQL_PORT?= databases/postgresql7 -PORTNAME= postgresql-jdbc +PORTNAME= postgresql +PORTVERSION!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V PORTVERSION +PORTREVISION?= 0 CATEGORIES= databases java -PORTREVISION= 0 +MASTER_SITES= ${MASTER_SITE_PGSQL} +MASTER_SITE_SUBDIR!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V MASTER_SITE_SUBDIR +PKGNAMESUFFIX= -jdbc +DISTFILES!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V DISTFILES +DIST_SUBDIR= postgresql MAINTAINER= girgen@pingpong.net COMMENT= The Java JDBC implementation for PostgreSQL BUILD_DEPENDS= ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant -POSTGRESQL_PORT?= databases/postgresql7 -POSTGRESQL_SUBPORT=YES -.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile> +MD5_FILE= ${.CURDIR}/../../${POSTGRESQL_PORT}/distinfo +USE_GMAKE= YES +GNU_CONFIGURE= YES CONFIGURE_ARGS= --with-java USE_JAVA= 1.1+ @@ -31,12 +38,12 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/src/interfaces/jdbc/jars/postgresql.jar \ ${PREFIX}/share/java/classes/postgresql.jar .if !defined(NOPORTDOCS) - @ ${MKDIR} -m 0555 ${PREFIX}/share/examples/postgresql ;\ + @ ${MKDIR} -m 0555 ${EXAMPLESDIR} ;\ cd ${WRKSRC}/src/interfaces/jdbc/example ;\ - pax -rw . ${PREFIX}/share/examples/postgresql + pax -rw . ${EXAMPLESDIR} .for i in README @ ${INSTALL_DATA} ${WRKSRC}/src/interfaces/jdbc/$i \ - ${PREFIX}/share/examples/postgresql + ${EXAMPLESDIR} .endfor .endif @ ${ECHO} ==================================== ;\ diff --git a/databases/postgresql-jdbc/pkg-plist b/databases/postgresql-jdbc/pkg-plist index 6cc6d4399485..7f92494f27c0 100644 --- a/databases/postgresql-jdbc/pkg-plist +++ b/databases/postgresql-jdbc/pkg-plist @@ -1,23 +1,23 @@ -%%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 -%%PORTDOCS%%share/examples/postgresql/corba/StockItemImpl.java -%%PORTDOCS%%share/examples/postgresql/corba/StockServer.java -%%PORTDOCS%%share/examples/postgresql/corba/readme -%%PORTDOCS%%share/examples/postgresql/corba/stock.idl -%%PORTDOCS%%share/examples/postgresql/corba/stock.sql -%%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%%%%EXAMPLESDIR%%/ImageViewer.java +%%PORTDOCS%%%%EXAMPLESDIR%%/README +%%PORTDOCS%%%%EXAMPLESDIR%%/Unicode.java +%%PORTDOCS%%%%EXAMPLESDIR%%/basic.java +%%PORTDOCS%%%%EXAMPLESDIR%%/blobtest.java +%%PORTDOCS%%%%EXAMPLESDIR%%/corba/StockClient.java +%%PORTDOCS%%%%EXAMPLESDIR%%/corba/StockDB.java +%%PORTDOCS%%%%EXAMPLESDIR%%/corba/StockDispenserImpl.java +%%PORTDOCS%%%%EXAMPLESDIR%%/corba/StockItemImpl.java +%%PORTDOCS%%%%EXAMPLESDIR%%/corba/StockServer.java +%%PORTDOCS%%%%EXAMPLESDIR%%/corba/readme +%%PORTDOCS%%%%EXAMPLESDIR%%/corba/stock.idl +%%PORTDOCS%%%%EXAMPLESDIR%%/corba/stock.sql +%%PORTDOCS%%%%EXAMPLESDIR%%/datestyle.java +%%PORTDOCS%%%%EXAMPLESDIR%%/metadata.java +%%PORTDOCS%%%%EXAMPLESDIR%%/psql.java +%%PORTDOCS%%%%EXAMPLESDIR%%/threadsafe.java share/java/classes/postgresql.jar -%%PORTDOCS%%@dirrm share/examples/postgresql/corba -@unexec rmdir %D/share/examples/postgresql 2>/dev/null || true +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/corba +@unexec rmdir %D/%%EXAMPLESDIR%% 2>/dev/null || true share/postgresql/java/postgresql-examples.jar share/postgresql/java/postgresql.jar @dirrm share/postgresql/java |