aboutsummaryrefslogtreecommitdiff
path: root/java/jfreechart
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-02-01 07:20:14 +0000
committerGreg Lewis <glewis@FreeBSD.org>2004-02-01 07:20:14 +0000
commit65d738c35c6b9d0c823934a5bbd79f3797bd8e67 (patch)
tree9fcaf119d6635e8b363dbc66500a5b51bce7507b /java/jfreechart
parentc70d1984b9eff3cc148a0f262874f5efb0bbbd15 (diff)
downloadports-65d738c35c6b9d0c823934a5bbd79f3797bd8e67.tar.gz
ports-65d738c35c6b9d0c823934a5bbd79f3797bd8e67.zip
Notes
Diffstat (limited to 'java/jfreechart')
-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 ff044b6faa6c..f925193fad5f 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 a7f0af8dbe5c..cd5fe2e04f67 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