Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2017 09:07:40 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r450886 - in head/java: . jakarta-commons-lang3
Message-ID:  <201709290907.v8T97eLc050827@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: truckman
Date: Fri Sep 29 09:07:40 2017
New Revision: 450886
URL: https://svnweb.freebsd.org/changeset/ports/450886

Log:
  New port jakarta-commons-lang3.
  
  This is a repo-copy of jakarta-commons-lang, updated to revision 3.4.
  It can co-exist with jakarta-commons-lang.  The newest version upstream
  is actually 3.6, but support for using apache-ant to build was dropped
  between 3.4 and 3.5.  Apache OpenOffice 4.2.0 will require 3.3+.
  
  Add NO_ARCH.
  
  Modernize by using option helpers.
  
  Get rid of the JDK_API!= stuff, which looks like it no longer did
  anything useful.

Added:
  head/java/jakarta-commons-lang3/
     - copied from r450422, head/java/jakarta-commons-lang/
Modified:
  head/java/Makefile
  head/java/jakarta-commons-lang3/Makefile
  head/java/jakarta-commons-lang3/distinfo

Modified: head/java/Makefile
==============================================================================
--- head/java/Makefile	Fri Sep 29 09:02:04 2017	(r450885)
+++ head/java/Makefile	Fri Sep 29 09:07:40 2017	(r450886)
@@ -49,6 +49,7 @@
     SUBDIR += jakarta-commons-discovery
     SUBDIR += jakarta-commons-httpclient
     SUBDIR += jakarta-commons-lang
+    SUBDIR += jakarta-commons-lang3
     SUBDIR += jakarta-commons-logging
     SUBDIR += jakarta-commons-pool
     SUBDIR += jakarta-commons-primitives

Modified: head/java/jakarta-commons-lang3/Makefile
==============================================================================
--- head/java/jakarta-commons-lang/Makefile	Sat Sep 23 03:24:14 2017	(r450422)
+++ head/java/jakarta-commons-lang3/Makefile	Fri Sep 29 09:07:40 2017	(r450886)
@@ -1,22 +1,22 @@
-# Created by: Ernst de Haan <znerd@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	commons-lang
-PORTVERSION=	2.6
+PORTNAME=	commons-lang3
+PORTVERSION=	3.4
 CATEGORIES=	java devel
 MASTER_SITES=	APACHE_COMMONS_SOURCE
 PKGNAMEPREFIX=	jakarta-
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	truckman@FreeBSD.org
 COMMENT=	Jakarta library with helper utilities for the java.lang API
 
 LICENSE=	APACHE20
 
 USE_JAVA=	yes
-JAVA_VERSION=	1.6+
+JAVA_VERSION=	1.7+
 USE_ANT=	yes
 ALL_TARGET=	jar
+NO_ARCH=	yes
 
 JARFILE=	${PORTNAME}-${PORTVERSION}.jar
 DESTJARFILE=	${PORTNAME}.jar
@@ -24,25 +24,14 @@ PLIST_FILES=	%%JAVAJARDIR%%/${DESTJARFILE}
 PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
+DOCS_ALL_TARGET=	javadoc
 
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-ALL_TARGET+=	javadoc
-.endif
-
-JDK_API!=	(${FIND} -s ${LOCALBASE}/share/doc/jdk1.? -maxdepth 1 -name api -type d 2>/dev/null || ${ECHO_CMD}) | ${TAIL} -n 1
-
-.if ${JDK_API} != ""
-MAKE_ARGS+=	-Djdk.javadoc=${JDK_API}
-.endif
-
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} \
 		${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	(cd ${WRKSRC}/target/apidocs && ${COPYTREE_SHARE} . \
 		${STAGEDIR}${DOCSDIR})
-.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/java/jakarta-commons-lang3/distinfo
==============================================================================
--- head/java/jakarta-commons-lang/distinfo	Sat Sep 23 03:24:14 2017	(r450422)
+++ head/java/jakarta-commons-lang3/distinfo	Fri Sep 29 09:07:40 2017	(r450886)
@@ -1,2 +1,3 @@
-SHA256 (commons-lang-2.6-src.tar.gz) = 05479771851be0af057032fa26ad90aa0c91c10e1fc4439558a1ffa6f053bcd7
-SIZE (commons-lang-2.6-src.tar.gz) = 564032
+TIMESTAMP = 1506639758
+SHA256 (commons-lang3-3.4-src.tar.gz) = 6f9a16e264aec59e4c7148763223480171f756f020d7a30aa617caabd382fa76
+SIZE (commons-lang3-3.4-src.tar.gz) = 771275



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