- Update to 9.2.1004

- Stage support
- Add LICENSE

Submitted by:	bar@
This commit is contained in:
Palle Girgensohn 2014-06-09 06:24:45 +00:00
parent 22f32ce577
commit cce7650bb8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357105
3 changed files with 16 additions and 14 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= postgresql
PORTVERSION= 9.1.902
PORTREVISION= 1
PORTVERSION= 9.2.1004
DISTVERSIONSUFFIX=.src
CATEGORIES= databases java
MASTER_SITES= http://jdbc.postgresql.org/download/
@ -13,6 +12,8 @@ DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSION:C/.([0-9][0-9][0-9]*)/-\1/g}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= The Java JDBC implementation for PostgreSQL
LICENSE= BSD3CLAUSE
DIST_SUBDIR= postgresql
USE_ANT= yes
@ -23,7 +24,6 @@ PORTDOCS= *
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
SUB_FILES= pkg-message
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} 's,/usr/local/pgsql/share/java,${JAVAJARDIR},' ${WRKSRC}/README
@ -31,11 +31,13 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
OPTIONS_SUB= yes
do-install:
@ ${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${JAVAJARDIR}/postgresql.jar
@ ${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${STAGEDIR}${JAVAJARDIR}/postgresql.jar
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}

View File

@ -1,2 +1,2 @@
SHA256 (postgresql/postgresql-jdbc-9.1-902.src.tar.gz) = 7f99c2307ae53d28412cc69ba75066e428d8fa6b567f1f1ea0acbb5d785cfc69
SIZE (postgresql/postgresql-jdbc-9.1-902.src.tar.gz) = 606514
SHA256 (postgresql/postgresql-jdbc-9.2-1004.src.tar.gz) = eeadff0d830cd19a4f52a9489748a7126b0c1d4863bf9a5d65618158dfc6ae68
SIZE (postgresql/postgresql-jdbc-9.2-1004.src.tar.gz) = 1842921

View File

@ -1,6 +1,6 @@
--- 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 @@
--- build.xml.orig 2013-10-31 14:48:34.000000000 +0100
+++ build.xml 2014-06-09 08:19:22.000000000 +0200
@@ -221,10 +221,7 @@
<target name="compile" depends="prepare,check_versions,driver">
@ -9,6 +9,6 @@
-
- <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" />
<include name="${package}/core/**" />
<patternset refid="jdbc.version.src.pattern"/>
</javac>
</target>