Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2020 08:07:32 +0000 (UTC)
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r538860 - in head/databases/postgresql-jdbc: . files
Message-ID:  <202006150807.05F87Wih056591@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: girgen
Date: Mon Jun 15 08:07:32 2020
New Revision: 538860
URL: https://svnweb.freebsd.org/changeset/ports/538860

Log:
  Upgrade to version 42.2.14
  
  Refactor the port to fetch the prebuilt jar instead of building, since the
  building process just got to complicated to make it worth while.
  
  PR:		245719
  Sponsored by:	Ping Pong AB

Deleted:
  head/databases/postgresql-jdbc/files/patch-build-xml
Modified:
  head/databases/postgresql-jdbc/Makefile
  head/databases/postgresql-jdbc/distinfo

Modified: head/databases/postgresql-jdbc/Makefile
==============================================================================
--- head/databases/postgresql-jdbc/Makefile	Mon Jun 15 08:04:04 2020	(r538859)
+++ head/databases/postgresql-jdbc/Makefile	Mon Jun 15 08:07:32 2020	(r538860)
@@ -2,37 +2,27 @@
 # $FreeBSD$
 
 PORTNAME=	postgresql
-PORTVERSION=	42.2.12
-DISTVERSIONSUFFIX=.src
+PORTVERSION=	42.2.14
 CATEGORIES=	databases java
 MASTER_SITES=	http://jdbc.postgresql.org/download/
 PKGNAMESUFFIX=	-jdbc
-DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSION}${DISTVERSIONSUFFIX}
+EXTRACT_SUFX=	.jar
+EXTRACT_ONLY=
 
 MAINTAINER=	pgsql@FreeBSD.org
-COMMENT=	The Java JDBC implementation for PostgreSQL
+COMMENT=	Java JDBC implementation for PostgreSQL
 
 LICENSE=	BSD3CLAUSE
 
-DIST_SUBDIR=	postgresql
-WRKSRC=		${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSION:C/.([0-9][0-9][0-9]*)/-\1/g}${DISTVERSIONSUFFIX}
-USE_ANT=	yes
 USE_JAVA=	yes
 NO_ARCH=	yes
-
 PLIST_FILES=	%%JAVAJARDIR%%/postgresql.jar
-PORTDOCS=	*
-DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
-SUB_FILES=	pkg-message
 
-OPTIONS_DEFINE=	DOCS
-OPTIONS_SUB=	yes
+do-extract:
 
-do-install:
-	${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${STAGEDIR}${JAVAJARDIR}/postgresql.jar
+do-build:
 
-do-install-DOCS-on:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+do-install:
+	${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${JAVAJARDIR}/postgresql.jar
 
 .include <bsd.port.mk>

Modified: head/databases/postgresql-jdbc/distinfo
==============================================================================
--- head/databases/postgresql-jdbc/distinfo	Mon Jun 15 08:04:04 2020	(r538859)
+++ head/databases/postgresql-jdbc/distinfo	Mon Jun 15 08:07:32 2020	(r538860)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1589616576
-SHA256 (postgresql/postgresql-jdbc-42.2.12.src.tar.gz) = 11095b4628befa96a640b77329591bb1380004b57ec6bf648928542448765ac8
-SIZE (postgresql/postgresql-jdbc-42.2.12.src.tar.gz) = 1471368
+TIMESTAMP = 1592205793
+SHA256 (postgresql-42.2.14.jar) = 48bbba05845b40bcce66ece3d7652153d27b5379d5ae90977b78eefd7c7a0287
+SIZE (postgresql-42.2.14.jar) = 932808



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006150807.05F87Wih056591>