diff options
author | olgeni <olgeni@FreeBSD.org> | 2014-05-26 23:16:12 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2014-05-26 23:16:12 +0800 |
commit | 2826c644d9992bbce9d368a06dcf3b91f4e77405 (patch) | |
tree | 71be86b90b30d5d44bd20ca324f225bdcf965c84 /java | |
parent | 1a78290d0b0928a4dacb53a08014eb2bc653c4e4 (diff) | |
download | freebsd-ports-gnome-2826c644d9992bbce9d368a06dcf3b91f4e77405.tar.gz freebsd-ports-gnome-2826c644d9992bbce9d368a06dcf3b91f4e77405.tar.zst freebsd-ports-gnome-2826c644d9992bbce9d368a06dcf3b91f4e77405.zip |
Upgrade to version 1.0.17.
- Add LICENSE
- Replace WITHOUT_COMPILE with COMPILE option
- Replace NOPORTDOCS with MDOCS
- Use COPYTREE_SHARE
- Remove indefinite article from COMMENT
Diffstat (limited to 'java')
-rw-r--r-- | java/jfreechart/Makefile | 32 | ||||
-rw-r--r-- | java/jfreechart/distinfo | 4 |
2 files changed, 17 insertions, 19 deletions
diff --git a/java/jfreechart/Makefile b/java/jfreechart/Makefile index d5bcb13c2d6c..a8dc95e4c53f 100644 --- a/java/jfreechart/Makefile +++ b/java/jfreechart/Makefile @@ -2,19 +2,27 @@ # $FreeBSD$ PORTNAME= jfreechart -PORTVERSION= 1.0.14 +PORTVERSION= 1.0.17 CATEGORIES= java graphics MASTER_SITES= SF/${PORTNAME}/1.%20JFreeChart/${PORTVERSION} MAINTAINER= olgeni@FreeBSD.org -COMMENT= A free Java class library for generating charts +COMMENT= Free Java class library for generating charts + +LICENSE= LGPL21 RUN_DEPENDS= ${JAVALIBDIR}/jcommon.jar:${PORTSDIR}/java/jcommon 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 BUILD_WRKSRC= ${WRKSRC}/ant @@ -22,28 +30,18 @@ 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%%/jfreechart.jar \ - %%JAVAJARDIR%%/gnujaxp.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} "" +PLIST_FILES= %%JAVAJARDIR%%/jfreechart.jar do-install: ${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar - ${INSTALL_DATA} ${WRKSRC}/lib/gnujaxp.jar ${STAGEDIR}${JAVAJARDIR}/gnujaxp.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> diff --git a/java/jfreechart/distinfo b/java/jfreechart/distinfo index 105871374ab1..4923220621d2 100644 --- a/java/jfreechart/distinfo +++ b/java/jfreechart/distinfo @@ -1,2 +1,2 @@ -SHA256 (jfreechart-1.0.14.tar.gz) = 9250d0ab465fed67aa6f48090854258d9d0053f519ca534e267a8bb84a6727f2 -SIZE (jfreechart-1.0.14.tar.gz) = 6376551 +SHA256 (jfreechart-1.0.17.tar.gz) = 5c360383d7624a35246e258aa2c95e8ef0df135390b3884b66605c4a06b03124 +SIZE (jfreechart-1.0.17.tar.gz) = 5770259 |