summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2004-02-01 07:20:14 +0000
committerglewis <glewis@FreeBSD.org>2004-02-01 07:20:14 +0000
commit03ddf07677f71dfb3a184aefa676b1056cb0488c (patch)
treee7b6b8f17d4c4036993a2debd738fef2c5b0bd55
parentec6beffc3595be1d2b04e7b48145c8f877fa9688 (diff)
downloadFreeBSD-ports-03ddf07677f71dfb3a184aefa676b1056cb0488c.zip
FreeBSD-ports-03ddf07677f71dfb3a184aefa676b1056cb0488c.tar.gz
. Update to 0.9.16. There are a few tweaks to the original submission.
PR: 62061 Submitted by: Sepherosa Ziehau <sepherosa@softhome.net>
-rw-r--r--java/jfreechart/Makefile27
-rw-r--r--java/jfreechart/distinfo4
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 <bsd.port.mk>
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
OpenPOWER on IntegriCloud