mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
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
This commit is contained in:
parent
66c394487e
commit
570b4aca44
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=538860
@ -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-build:
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${STAGEDIR}${JAVAJARDIR}/postgresql.jar
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${JAVAJARDIR}/postgresql.jar
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -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
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- 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">
|
||||
|
||||
- <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}" source="${java.specification.version}">
|
||||
+ <javac includeAntRuntime="no" classpath="${srcdir}" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}">
|
||||
<patternset refid="jdbc.version.src.pattern"/>
|
||||
</javac>
|
||||
</target>
|
Loading…
Reference in New Issue
Block a user