aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-jdbc
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2008-02-26 22:45:56 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2008-02-26 22:45:56 +0000
commit2e0f870d124003fab39abe94d8194be95fac4439 (patch)
tree01a6abb7c9f36dc06d1725362929bc5fb38ebc05 /databases/postgresql-jdbc
parent2f8e8025d30ee0e5fb39844ad7176831e7edb865 (diff)
downloadports-2e0f870d124003fab39abe94d8194be95fac4439.tar.gz
ports-2e0f870d124003fab39abe94d8194be95fac4439.zip
Notes
Diffstat (limited to 'databases/postgresql-jdbc')
-rw-r--r--databases/postgresql-jdbc/Makefile8
-rw-r--r--databases/postgresql-jdbc/distinfo6
-rw-r--r--databases/postgresql-jdbc/files/patch-build-xml8
-rw-r--r--databases/postgresql-jdbc/pkg-plist3
4 files changed, 14 insertions, 11 deletions
diff --git a/databases/postgresql-jdbc/Makefile b/databases/postgresql-jdbc/Makefile
index afb68dcd470d..94d370df8e91 100644
--- a/databases/postgresql-jdbc/Makefile
+++ b/databases/postgresql-jdbc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= postgresql
-PORTVERSION= 8.2.505
+PORTVERSION= 8.3.603
DISTVERSIONSUFFIX=.src
PORTREVISION= 0
CATEGORIES= databases java
@@ -28,10 +28,12 @@ post-patch:
${REINPLACE_CMD} 's,/usr/local/pgsql/share/java,${JAVAJARDIR},' ${WRKSRC}/README
do-install:
- @- ${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${JAVAJARDIR}/postgresql.jar ;\
- ${MKDIR} -m 0755 ${DOCSDIR} ;\
+ @ ${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${JAVAJARDIR}/postgresql.jar
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} -m 0755 ${DOCSDIR} ;\
${INSTALL_DATA} ${WRKSRC}/README \
${DOCSDIR}/README-jdbc
+.endif
post-install:
@ ${SED} -e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g" \
diff --git a/databases/postgresql-jdbc/distinfo b/databases/postgresql-jdbc/distinfo
index 191691ef537a..d9a5bdc1e41e 100644
--- a/databases/postgresql-jdbc/distinfo
+++ b/databases/postgresql-jdbc/distinfo
@@ -1,3 +1,3 @@
-MD5 (postgresql/postgresql-jdbc-8.2-505.src.tar.gz) = 2dc5f3b2204f1b47372f21da9f81920a
-SHA256 (postgresql/postgresql-jdbc-8.2-505.src.tar.gz) = 76bf2aa5ead0d043d81df1c31db9f654e6eb9d80fa9e8a97fb7432950a8197b6
-SIZE (postgresql/postgresql-jdbc-8.2-505.src.tar.gz) = 498495
+MD5 (postgresql/postgresql-jdbc-8.3-603.src.tar.gz) = 6e130d3dc307d27757252ff28ce9a9f2
+SHA256 (postgresql/postgresql-jdbc-8.3-603.src.tar.gz) = d7fa28a6f059887ae8d692c0e8a8befac688b3755ac6f46ab07e2119018e4f2d
+SIZE (postgresql/postgresql-jdbc-8.3-603.src.tar.gz) = 521517
diff --git a/databases/postgresql-jdbc/files/patch-build-xml b/databases/postgresql-jdbc/files/patch-build-xml
index 19b135090bd7..e5ba244609d2 100644
--- a/databases/postgresql-jdbc/files/patch-build-xml
+++ b/databases/postgresql-jdbc/files/patch-build-xml
@@ -1,13 +1,13 @@
---- build.xml.orig Tue Feb 1 08:27:53 2005
-+++ build.xml Fri Feb 11 00:33:41 2005
-@@ -105,10 +105,7 @@
+--- build.xml.orig 2007-10-15 09:49:36.000000000 +0200
++++ build.xml 2008-01-22 13:52:37.000000000 +0100
+@@ -109,10 +109,7 @@
<target name="compile" depends="prepare,check_versions,driver">
- <available classname="org.postgresql.Driver" property="old.driver.present" />
- <fail message="Old driver was detected on classpath or in jre/lib/ext, please remove and try again." if="old.driver.present" />
-
-- <javac classpath="${srcdir}" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}">
+- <javac classpath="${srcdir}" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}" source="${java.specification.version}">
+ <javac includeAntRuntime="no" classpath="${srcdir}" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}">
<!-- This is the core of the driver. It is common for all versions. -->
<include name="${package}/*.java" />
diff --git a/databases/postgresql-jdbc/pkg-plist b/databases/postgresql-jdbc/pkg-plist
index 148b20bdcbba..9a253a69df4c 100644
--- a/databases/postgresql-jdbc/pkg-plist
+++ b/databases/postgresql-jdbc/pkg-plist
@@ -1,3 +1,4 @@
-%%DOCSDIR%%/README-jdbc
+%%PORTDOCS%%%%DOCSDIR%%/README-jdbc
%%JAVAJARDIR%%/postgresql.jar
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
@dirrmtry %%DOCSDIR%%