Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 15:05:14 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355357 - head/java/jcommon
Message-ID:  <201405261505.s4QF5EVW077128@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Mon May 26 15:05:14 2014
New Revision: 355357
URL: http://svnweb.freebsd.org/changeset/ports/355357
QAT: https://qat.redports.org/buildarchive/r355357/

Log:
  Upgrade to version 1.0.22.
  
  - Add LICENSE
  - Convert to USES=zip
  - Replace WITHOUT_COMPILE with COMPILE option
  - Replace NOPORTDOCS with MDOCS
  - Use COPYTREE_SHARE
  - Remove indefinite article from COMMENT

Modified:
  head/java/jcommon/Makefile
  head/java/jcommon/distinfo   (contents, props changed)

Modified: head/java/jcommon/Makefile
==============================================================================
--- head/java/jcommon/Makefile	Mon May 26 15:01:39 2014	(r355356)
+++ head/java/jcommon/Makefile	Mon May 26 15:05:14 2014	(r355357)
@@ -2,17 +2,26 @@
 # $FreeBSD$
 
 PORTNAME=	jcommon
-PORTVERSION=	1.0.19
+PORTVERSION=	1.0.22
 CATEGORIES=	java devel
 MASTER_SITES=	SF/jfreechart/3.%20JCommon/${PORTVERSION}
 
 MAINTAINER=	olgeni@FreeBSD.org
-COMMENT=	A collection of useful classes used by JFreeChart and JFreeReport
+COMMENT=	Collection of useful classes used by JFreeChart and JFreeReport
 
+LICENSE=	LGPL21
+
+USES=		zip
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 
-.if !defined(WITHOUT_COMPILE)
+OPTIONS_DEFINE=	COMPILE
+OPTIONS_DEFAULT=COMPILE
+COMPILE_DESC=	Build from source
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MCOMPILE}
 USE_ANT=	yes
 ALL_TARGET=	compile-xml
 BUILD_WRKSRC=	${WRKSRC}/ant
@@ -20,27 +29,19 @@ BUILD_WRKSRC=	${WRKSRC}/ant
 NO_BUILD=	yes
 .endif
 
-.if !defined(NOPORTDOCS) && !defined(WITHOUT_COMPILE)
+.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MCOMPILE}
 ALL_TARGET+=	javadoc
 PORTDOCS=	*
 .endif
 
 PLIST_FILES=	%%JAVAJARDIR%%/jcommon.jar %%JAVAJARDIR%%/jcommon-xml.jar
 
-pre-fetch:
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "You may use the following build options:"
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "    WITHOUT_COMPILE=yes    Install the pre-compiled .jar file"
-	@${ECHO_MSG} ""
-
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-xml-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-xml.jar
-.if !defined(NOPORTDOCS) && !defined(WITHOUT_COMPILE)
+.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MCOMPILE}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC}/javadoc && ${FIND} . \
-	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/javadoc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/java/jcommon/distinfo
==============================================================================
--- head/java/jcommon/distinfo	Mon May 26 15:01:39 2014	(r355356)
+++ head/java/jcommon/distinfo	Mon May 26 15:05:14 2014	(r355357)
@@ -1,2 +1,2 @@
-SHA256 (jcommon-1.0.19.tar.gz) = 13eeb516394efe965dfbdb988242c92d2add7e11494ca6f5f53a1430122041dc
-SIZE (jcommon-1.0.19.tar.gz) = 1121203
+SHA256 (jcommon-1.0.22.zip) = b616388389aa0c1d46d54a9b768ba4158104af55c9c280db44e2b05d510beadb
+SIZE (jcommon-1.0.22.zip) = 1581626



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