Commit 2826c644 authored by olgeni's avatar olgeni
Browse files

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
parent 1a78290d
...@@ -2,19 +2,27 @@ ...@@ -2,19 +2,27 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= jfreechart PORTNAME= jfreechart
PORTVERSION= 1.0.14 PORTVERSION= 1.0.17
CATEGORIES= java graphics CATEGORIES= java graphics
MASTER_SITES= SF/${PORTNAME}/1.%20JFreeChart/${PORTVERSION} MASTER_SITES= SF/${PORTNAME}/1.%20JFreeChart/${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org 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 RUN_DEPENDS= ${JAVALIBDIR}/jcommon.jar:${PORTSDIR}/java/jcommon
USE_JAVA= yes USE_JAVA= yes
JAVA_VERSION= 1.6+ 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 USE_ANT= yes
ALL_TARGET= compile ALL_TARGET= compile
BUILD_WRKSRC= ${WRKSRC}/ant BUILD_WRKSRC= ${WRKSRC}/ant
...@@ -22,28 +30,18 @@ BUILD_WRKSRC= ${WRKSRC}/ant ...@@ -22,28 +30,18 @@ BUILD_WRKSRC= ${WRKSRC}/ant
NO_BUILD= yes NO_BUILD= yes
.endif .endif
.if !defined(NOPORTDOCS) && !defined(WITHOUT_COMPILE) .if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MCOMPILE}
ALL_TARGET+= javadoc ALL_TARGET+= javadoc
PORTDOCS= * PORTDOCS= *
.endif .endif
PLIST_FILES= %%JAVAJARDIR%%/jfreechart.jar \ 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} ""
do-install: do-install:
${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar ${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
${INSTALL_DATA} ${WRKSRC}/lib/gnujaxp.jar ${STAGEDIR}${JAVAJARDIR}/gnujaxp.jar .if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MCOMPILE}
.if !defined(NOPORTDOCS) && !defined(WITHOUT_COMPILE)
@${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/javadoc && ${FIND} . \ cd ${WRKSRC}/javadoc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
.endif .endif
.include <bsd.port.mk> .include <bsd.port.mk>
SHA256 (jfreechart-1.0.14.tar.gz) = 9250d0ab465fed67aa6f48090854258d9d0053f519ca534e267a8bb84a6727f2 SHA256 (jfreechart-1.0.17.tar.gz) = 5c360383d7624a35246e258aa2c95e8ef0df135390b3884b66605c4a06b03124
SIZE (jfreechart-1.0.14.tar.gz) = 6376551 SIZE (jfreechart-1.0.17.tar.gz) = 5770259
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment