From 03ddf07677f71dfb3a184aefa676b1056cb0488c Mon Sep 17 00:00:00 2001 From: glewis Date: Sun, 1 Feb 2004 07:20:14 +0000 Subject: . Update to 0.9.16. There are a few tweaks to the original submission. PR: 62061 Submitted by: Sepherosa Ziehau --- java/jfreechart/Makefile | 27 ++++++++++++++++++++++++--- java/jfreechart/distinfo | 4 ++-- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/java/jfreechart/Makefile b/java/jfreechart/Makefile index ff044b6..f925193 100644 --- a/java/jfreechart/Makefile +++ b/java/jfreechart/Makefile @@ -7,7 +7,7 @@ # PORTNAME= jfreechart -PORTVERSION= 0.9.13 +PORTVERSION= 0.9.16 CATEGORIES= java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,10 +15,31 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= A free Java class library for generating charts +BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant + USE_JAVA= 1.2+ -NO_BUILD= yes + +ANT?= ${LOCALBASE}/bin/ant + +ANT_TARGETS= compile +.if !defined(NOPORTDOCS) +ANT_TARGETS+= javadoc +PORTDOCS= * +.endif + +do-build: + @cd ${WRKSRC}/ant && ${ANT} ${ANT_TARGETS} do-install: - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar + @${ECHO_CMD} -n ">> Installing .jar file..." + @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar + @${ECHO_CMD} " [DONE]" +.if !defined(NOPORTDOCS) + @${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..." + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC}/javadoc && ${FIND} . \ + | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} + @${ECHO_CMD} " [DONE]" +.endif .include diff --git a/java/jfreechart/distinfo b/java/jfreechart/distinfo index a7f0af8..cd5fe2e 100644 --- a/java/jfreechart/distinfo +++ b/java/jfreechart/distinfo @@ -1,2 +1,2 @@ -MD5 (jfreechart-0.9.13.tar.gz) = 69837930b853e7c623fc72c7c502cc1e -SIZE (jfreechart-0.9.13.tar.gz) = 2081431 +MD5 (jfreechart-0.9.16.tar.gz) = 3060af9fae4c3458dfd3b93744302d67 +SIZE (jfreechart-0.9.16.tar.gz) = 2326963 -- cgit v1.1