mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
Upgrade to 3.7.3.
Changelog at <http://jasperforge.org/website/ireportwebsite/IR%20Website/nb-3.7.3.html?group_id=243&header=project&target=ireport>
This commit is contained in:
parent
3b5c0fb962
commit
ecc5440e93
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=256137
@ -6,86 +6,100 @@
|
||||
#
|
||||
|
||||
PORTNAME= ireport
|
||||
PORTVERSION= 3.0.0
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 3.7.3
|
||||
CATEGORIES= devel databases java
|
||||
MASTER_SITES= SF/${PORTNAME}/iReport%20%28classic%29/iReport-${PORTVERSION}
|
||||
MASTER_SITES= SF/${PORTNAME}/iReport/iReport-${PORTVERSION}
|
||||
DISTNAME= iReport-${PORTVERSION}
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A visual report builder/designer for JasperReports
|
||||
|
||||
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper \
|
||||
${JAVALIBDIR}/bsh.jar:${PORTSDIR}/lang/bsh \
|
||||
${JAVALIBDIR}/dom4j.jar:${PORTSDIR}/textproc/dom4j \
|
||||
${JAVALIBDIR}/axis.jar:${PORTSDIR}/www/axis \
|
||||
${JAVALIBDIR}/antlr.jar:${PORTSDIR}/devel/antlr \
|
||||
${JAVALIBDIR}/looks.jar:${PORTSDIR}/devel/looks \
|
||||
${JAVALIBDIR}/mail.jar:${PORTSDIR}/java/javamail \
|
||||
${JAVALIBDIR}/castor.jar:${PORTSDIR}/java/castor \
|
||||
${JAVALIBDIR}/groovy.jar:${PORTSDIR}/lang/groovy \
|
||||
${JAVALIBDIR}/activation.jar:${PORTSDIR}/java/jaf \
|
||||
${JAVALIBDIR}/dom4j.jar:${PORTSDIR}/textproc/dom4j \
|
||||
${JAVALIBDIR}/jaxen-full.jar:${PORTSDIR}/java/jaxen \
|
||||
${JAVALIBDIR}/tinylaf.jar:${PORTSDIR}/devel/tinylaf \
|
||||
${JAVALIBDIR}/slf4j-api.jar:${PORTSDIR}/devel/slf4j \
|
||||
${JAVALIBDIR}/bcel.jar:${PORTSDIR}/java/jakarta-bcel \
|
||||
${JAVALIBDIR}/jcmdline.jar:${PORTSDIR}/devel/jcmdline \
|
||||
${JAVASHAREDIR}/rhino/rhino.jar:${PORTSDIR}/lang/rhino \
|
||||
${JAVALIBDIR}/barbecue.jar:${PORTSDIR}/graphics/barbecue \
|
||||
${JAVALIBDIR}/xml-apis.jar:${PORTSDIR}/textproc/xerces-j \
|
||||
${JAVALIBDIR}/spring.jar:${PORTSDIR}/java/springframework \
|
||||
${JAVASHAREDIR}/apache-ant/lib/ant.jar:${PORTSDIR}/devel/apache-ant \
|
||||
${JAVALIBDIR}/jasperreports.jar:${PORTSDIR}/databases/jasperreports \
|
||||
${JAVALIBDIR}/commons-dbcp.jar:${PORTSDIR}/java/jakarta-commons-dbcp \
|
||||
${JAVALIBDIR}/commons-math.jar:${PORTSDIR}/math/jakarta-commons-math \
|
||||
${JAVALIBDIR}/commons-pool.jar:${PORTSDIR}/java/jakarta-commons-pool \
|
||||
${JAVALIBDIR}/commons-codec.jar:${PORTSDIR}/java/jakarta-commons-codec \
|
||||
${JAVALIBDIR}/commons-discovery.jar:${PORTSDIR}/java/jakarta-commons-discovery \
|
||||
${JAVALIBDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.4+
|
||||
JAVA_VERSION= 1.5+
|
||||
USE_DOS2UNIX= *.txt
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_SUB= VER=${PORTVERSION} VERMAN=0.2.0
|
||||
|
||||
JARFILES= JasperBabylon-1.0.0.jar LICENSE.asm-attr.txt LICENSE.asm.txt \
|
||||
LICENSE.barbecue-1.1.txt LICENSE.jta.txt LICENSE.microba.txt \
|
||||
asm-attrs.jar asm.jar batik-anim.jar batik-awt-util.jar \
|
||||
batik-bridge.jar batik-css.jar batik-dom.jar batik-ext.jar \
|
||||
batik-gvt.jar batik-parser.jar batik-script.jar \
|
||||
batik-svg-dom.jar batik-svggen.jar batik-util.jar batik-xml.jar \
|
||||
barbecue-1.5-beta1.jar cglib-2.1.jar cincom-jr-xmla.jar \
|
||||
commons-javaflow-20060411.jar commons-vfs-1.0.jar \
|
||||
ehcache-1.1.jar eigenbase-properties.jar eigenbase-resgen.jar \
|
||||
eigenbase-xom.jar flexdock-0.4.1.jar groovy-all-1.5.5.jar \
|
||||
hibernate3.jar iReport.jar iTextAsian.jar \
|
||||
jasperreports-extensions-1.3.1.jar jasperreports-flash-2.0.5.jar\
|
||||
javacup.jar jdt-compiler-3.1.1.jar jpa.jar js_activation-1.1.jar\
|
||||
js_axis-1.4patched.jar js_commons-discovery-0.2.jar \
|
||||
js_jasperserver-common-ws-3.0.0.jar \
|
||||
js_jasperserver-ireport-plugin-3.0.0.jar js_jaxrpc.jar \
|
||||
js_mail-1.4.jar js_wsdl4j-1.5.1.jar jsmoothgen-ant-0.9.7.jar \
|
||||
jta.jar jxl-2.6.jar microba-0.4.1-bin.jar \
|
||||
mondrian-2.3.2.8944.jar nsisant-1.1.jar png-encoder-1.5.jar \
|
||||
rex-20080421.jar saaj-api-1.3.jar servlet.jar spring-2.0-m2.jar \
|
||||
spring-context-2.0-m2.jar spring-hibernate3-2.0-m2.jar \
|
||||
sqleonardo-2007.03.jar swingx-2007_05_13.jar toniclf.jar \
|
||||
xml-apis-ext.jar
|
||||
# Installed files
|
||||
JARFILES= asm-attrs.jar asm.jar barcode4j-2.0-LICENSE.txt \
|
||||
barcode4j-2.0-NOTICE.txt barcode4j-2.0.jar cglib-2.1.jar \
|
||||
cincom-jr-xmla.jar commons-javaflow-20060411.jar \
|
||||
commons-vfs-1.0.jar ehcache-1.1.jar \
|
||||
eigenbase-properties-1.1.0.10924.jar \
|
||||
eigenbase-resgen-1.3.0.11873.jar eigenbase-xom-1.3.0.11999.jar \
|
||||
ejb3-persistence.jar hibernate-annotations.jar \
|
||||
hibernate-commons-annotations.jar hibernate3-LICENSE.txt \
|
||||
hibernate3.jar iText-2.1.7-LICENSE.txt iText-2.1.7.jar \
|
||||
iTextAsian.jar jasperreports-chart-themes-3.7.3.jar \
|
||||
jasperreports-extensions-3.5.3.jar jasperreports-fonts-3.7.3.jar\
|
||||
javacup.jar javassist-3.4.GA.jar jdt-compiler-3.1.1-LICENSE.html\
|
||||
jdt-compiler-3.1.1.jar jpa.jar \
|
||||
js_jasperserver-common-ws-3.5.0.jar js_saaj-api-1.3.jar \
|
||||
js_wsdl4j-1.5.1.jar jta.jar jxl-2.6-LICENSE.txt jxl-2.6.jar \
|
||||
mondrian-3.1.1.12687-Jaspersoft.jar \
|
||||
mondrian-3.1.1.12687-LICENSE.html olap4j-0.9.7.145.jar \
|
||||
png-encoder-1.5.jar rex-20080421.jar saaj-api-1.3.jar \
|
||||
sqleonardo-2007.03.jar swingx-2007_10_07.jar xml-apis-ext.jar
|
||||
CJSFILES= com-jaspersoft-ireport-addons.jar \
|
||||
com-jaspersoft-ireport-components.jar \
|
||||
com-jaspersoft-ireport-designer-standalone.jar \
|
||||
com-jaspersoft-ireport-heartbeat.jar \
|
||||
com-jaspersoft-ireport-jasperserver.jar \
|
||||
com-jaspersoft-ireport-samples.jar \
|
||||
com-jaspersoft-ireport.jar \
|
||||
com-jaspersoft-jrx.jar
|
||||
BASEFILES= Changelog.txt notice.txt
|
||||
SUBDIRS= fonts plugins templates
|
||||
|
||||
# Jarfiles to be included in classpath
|
||||
CLSSPTH= JasperBabylon-1.0.0 antlr asm-attrs asm barbecue-1.5-beta1 \
|
||||
batik-anim batik-awt-util batik-bridge batik-css batik-dom \
|
||||
batik-ext batik-gvt batik-parser batik-script batik-svg-dom \
|
||||
batik-svggen batik-util batik-xml bsh cglib-2.1 cincom-jr-xmla \
|
||||
commons-beanutils commons-codec commons-collections commons-dbcp\
|
||||
commons-digester commons-httpclient commons-javaflow-20060411 \
|
||||
commons-logging commons-logging-api commons-math commons-pool \
|
||||
commons-vfs-1.0 dom4j ehcache-1.1 eigenbase-properties \
|
||||
eigenbase-resgen eigenbase-xom flexdock-0.4.1 groovy-all-1.5.5 \
|
||||
hibernate3 iReport iTextAsian itext bcel jasperreports \
|
||||
jasperreports-extensions-1.3.1 jasperreports-flash-2.0.5 javacup\
|
||||
jaxen-full jcmdline jcommon jdt-compiler-3.1.1 jfreechart jpa \
|
||||
js_activation-1.1 js_axis-1.4patched js_commons-discovery-0.2 \
|
||||
js_jasperserver-common-ws-3.0.0 \
|
||||
js_jasperserver-ireport-plugin-3.0.0 js_jaxrpc js_mail-1.4 \
|
||||
js_wsdl4j-1.5.1 jsmoothgen-ant-0.9.7 jta jxl-2.6 log4j looks \
|
||||
microba-0.4.1-bin mondrian-2.3.2.8944 mysql-connector-java \
|
||||
nsisant-1.1 png-encoder-1.5 poi postgresql rex-20080421 \
|
||||
saaj-api-1.3 servlet spring-2.0-m2 spring-context-2.0-m2 \
|
||||
spring-hibernate3-2.0-m2 sqleonardo-2007.03 swingx-2007_05_13 \
|
||||
tinylaf toniclf xalan xercesImpl xml-apis xml-apis-ext \
|
||||
CLSSPTH= ant antlr asm-attrs asm barbecue barcode4j-2.0 batik batik-anim \
|
||||
batik-awt-util batik-bridge batik-css batik-dom batik-ext \
|
||||
batik-gvt batik-parser batik-script batik-svg-dom batik-svggen \
|
||||
batik-util batik-xml bcel bsh castor cglib-2.1 cincom-jr-xmla \
|
||||
commons-beanutils commons-collections commons-digester \
|
||||
commons-javaflow-20060411 commons-logging commons-math \
|
||||
commons-pool commons-vfs-1.0 crimson dom4j ehcache-1.1 \
|
||||
eigenbase-properties-1.1.0.10924 eigenbase-resgen-1.3.0.11873 \
|
||||
eigenbase-xom-1.3.0.11999 ejb3-persistence groovy \
|
||||
hibernate-annotations hibernate-commons-annotations hibernate3 \
|
||||
itext iText-2.1.7 iTextAsian jasperreports \
|
||||
jasperreports-chart-themes-3.6.2 jasperreports-extensions-3.5.3 \
|
||||
jasperreports-fonts-3.7.2 javacup javassist-3.4.GA jaxen-full \
|
||||
jcommon jdt-compiler-3.1.1 jfreechart jpa activation axis \
|
||||
commons-codec commons-discovery commons-httpclient \
|
||||
js_jasperserver-common-ws-3.5.0 jaxrpc mail js_saaj-api-1.3 \
|
||||
js_wsdl4j-1.5.1 jta jxl-2.6 log4j \
|
||||
mondrian-3.1.1.12687-Jaspersoft olap4j-0.9.7.145 png-encoder-1.5\
|
||||
poi rex-20080421 rhino saaj-api-1.3 slf4j-api slf4j-log4j12 \
|
||||
spring sqleonardo-2007.03 swingx-2007_10_07 xalan xml-apis-ext \
|
||||
xml-apis \
|
||||
${CLSSHSQLDB}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -112,34 +126,42 @@ WITH_HSQLDB= yes
|
||||
CLSSHSQLDB= hsqldb
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${FIND} ${WRKSRC} -name "*.bat" -exec ${RM} {} \;
|
||||
@${MV} ${WRKSRC}/lib/LICENSE.barbecue.txt ${WRKSRC}/lib/LICENSE.barbecue-1.1.txt
|
||||
|
||||
pre-configure:
|
||||
@${REINPLACE_CMD} -e 's|%%CLSSPTH%%|${CLSSPTH:S,^,${JAVALIBDIR}/,g:S,$,.jar£,g}|; \
|
||||
s|jar£ |jar\:|g; s|£|:${JAVA_HOME}/lib/tools.jar${CLSSORA:S,^,\:${JAVALIBDIR}/,g}|; \
|
||||
s|zip |zip|g; s|jar |jar|g; s|%%DATADIR%%|${DATADIR}|; \
|
||||
s|^java |JAVA_VERSION="${JAVA_VERSION}" ${LOCALBASE}/bin/java |' \
|
||||
${WRKSRC}/bin/startup.sh
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/startup.sh ${DATADIR}/bin
|
||||
${LN} -sf ${DATADIR}/bin/startup.sh ${PREFIX}/bin/iReport
|
||||
${LN} -sf ${JAVAJARDIR} ${DATADIR}/lib
|
||||
${INSTALL_DATA} ${JARFILES:S|^|${WRKSRC}/lib/|} ${JAVAJARDIR}
|
||||
${INSTALL_DATA} ${BASEFILES:S|^|${WRKSRC}/|} ${DATADIR}
|
||||
cd ${WRKSRC} && ${FIND} ${SUBDIRS} -type d -exec ${MKDIR} ${DATADIR}/{} \;
|
||||
cd ${WRKSRC} && ${FIND} ${SUBDIRS} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
|
||||
${RM} -rf ${DATADIR}/fonts/font_licenses # All GPL
|
||||
.if !defined(NOPORTDOCS)
|
||||
#${LN} -sf ${DATADIR}/docs ${DOCSDIR}
|
||||
# jakarta-commons-dbcp-1.2.2 is marked as broken:
|
||||
# does not build unless jakarta-commons-collections is compiled with jdk15.
|
||||
.if exists(${JAVALIBDIR}/commons-dbcp.jar)
|
||||
RUN_DEPENDS+= ${JAVALIBDIR}/commons-dbcp.jar:${PORTSDIR}/java/jakarta-commons-dbcp
|
||||
CLSSPTH+= commons-dbcp
|
||||
.else
|
||||
JARFILES+= commons-dbcp-1.2.2.jar
|
||||
CLSSPTH+= commons-dbcp-1.2.2
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
post-extract:
|
||||
${CP} ${FILESDIR}/startup.sh ${WRKSRC}/bin/
|
||||
${RM} ${WRKSRC}/bin/*.exe
|
||||
|
||||
pre-configure:
|
||||
${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|; \
|
||||
s|%%CLSSPTH%%|${CLSSPTH:S,^,${JAVALIBDIR}/,g:S,$,.jar£,g}|' \
|
||||
-e 's|jar£ |jar\:|g; \
|
||||
s|£|:${JAVA_HOME}/lib/tools.jar${CLSSORA:S,^,\:${JAVALIBDIR}/,g}|; \
|
||||
s|${JAVALIBDIR}/batik|${JAVASHAREDIR}/batik/lib/batik|g; \
|
||||
s|${JAVALIBDIR}/rhino.jar|${JAVASHAREDIR}/rhino/rhino.jar|; \
|
||||
s|${JAVALIBDIR}/ant.jar|${JAVASHAREDIR}/apache-ant/lib/ant.jar|;\
|
||||
s|zip |zip|g; s|jar |jar|g' \
|
||||
-e 's|%%JAVA_HOME%%|${JAVA_HOME}|; \
|
||||
s|%%DATADIR%%|${DATADIR}|g; \
|
||||
s|^java |JAVA_VERSION="${JAVA_VERSION}" ${LOCALBASE}/bin/java |'\
|
||||
${WRKSRC}/bin/startup.sh
|
||||
${REINPLACE_CMD} -e 's|/bin/grep|/usr/bin/grep|' ${WRKSRC}/platform9/lib/nbexec
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}
|
||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR})
|
||||
${CHMOD} ${BINMODE} ${DATADIR}/bin/startup.sh
|
||||
${LN} -sf ${DATADIR}/bin/startup.sh ${PREFIX}/bin/iReport
|
||||
${RM} -rf ${DATADIR}/ireport/modules/ext
|
||||
${INSTALL_DATA} ${JARFILES:S|^|${WRKSRC}/ireport/modules/ext/|} ${JAVAJARDIR}
|
||||
${LN} -sf ${JAVAJARDIR} ${DATADIR}/ireport/modules/ext
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (iReport-3.0.0.tar.gz) = 6623bc39959686d9565c7857ad1de486
|
||||
SHA256 (iReport-3.0.0.tar.gz) = 67a557e67edb3a9ac5fa797fb21c11c37ed684dadb38b0b810c4b38d2a78267c
|
||||
SIZE (iReport-3.0.0.tar.gz) = 48137221
|
||||
MD5 (iReport-3.7.3.tar.gz) = 888b9d5e94eb56bf646c7682fccff977
|
||||
SHA256 (iReport-3.7.3.tar.gz) = 84737e462db9625aa9bd6c982fd9438276f16098f891ea4bc47ead5368e2bb4f
|
||||
SIZE (iReport-3.7.3.tar.gz) = 76530116
|
||||
|
@ -1,44 +0,0 @@
|
||||
--- bin/startup.sh.orig 2008-05-30 08:34:03.000000000 +0200
|
||||
+++ bin/startup.sh 2008-06-01 15:44:53.000000000 +0200
|
||||
@@ -1,33 +1,13 @@
|
||||
#! /bin/sh
|
||||
|
||||
|
||||
-# add the libraries to the IREPORT_CLASSPATH.
|
||||
-# EXEDIR is the directory where this executable is.
|
||||
-EXEDIR=${0%/*}
|
||||
-DIRLIBS=${EXEDIR}/../lib/*.jar
|
||||
-for i in ${DIRLIBS}
|
||||
-do
|
||||
- if [ -z "$IREPORT_CLASSPATH" ] ; then
|
||||
- IREPORT_CLASSPATH=$i
|
||||
- else
|
||||
- IREPORT_CLASSPATH="$i":$IREPORT_CLASSPATH
|
||||
- fi
|
||||
-done
|
||||
-
|
||||
-DIRLIBS=${EXEDIR}/../lib/*.zip
|
||||
-for i in ${DIRLIBS}
|
||||
-do
|
||||
- if [ -z "$IREPORT_CLASSPATH" ] ; then
|
||||
- IREPORT_CLASSPATH=$i
|
||||
- else
|
||||
- IREPORT_CLASSPATH="$i":$IREPORT_CLASSPATH
|
||||
- fi
|
||||
-done
|
||||
-
|
||||
-IREPORT_CLASSPATH="${EXEDIR}/../classes":"${EXEDIR}/../fonts":$IREPORT_CLASSPATH
|
||||
-cd ..
|
||||
-IREPORT_HOME=$(pwd)
|
||||
-cd bin
|
||||
-#echo $IREPORT_HOME
|
||||
+IREPORT_CLASSPATH="%%CLSSPTH%%:%%DATADIR%%/fonts"
|
||||
+IREPORT_HOME="$HOME/ireport"
|
||||
|
||||
+# Since iReport-1.2.2, $IREPORT_HOME must be writable
|
||||
+/bin/mkdir -p $IREPORT_HOME/lib
|
||||
+/bin/rm $IREPORT_HOME/plugins $IREPORT_HOME/templates 2>/dev/null || /usr/bin/true
|
||||
+/bin/ln -sf %%DATADIR%%/plugins $IREPORT_HOME/plugins
|
||||
+/bin/ln -sf %%DATADIR%%/templates $IREPORT_HOME/templates
|
||||
+cd $IREPORT_HOME
|
||||
java -classpath "$IREPORT_CLASSPATH:$CLASSPATH" -Direport.home=$IREPORT_HOME -Djava.security.policy=$IREPORT_HOME/policy.all it.businesslogic.ireport.gui.MainFrame "$@"
|
6
devel/ireport/files/startup.sh
Normal file
6
devel/ireport/files/startup.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#! /bin/sh
|
||||
#set -x
|
||||
|
||||
IREPORT_HOME="$HOME/.ireport/%%PORTVERSION%%"
|
||||
|
||||
java -Djdk.home=%%JAVA_HOME%% -classpath "%%DATADIR%%/platform9/lib/boot.jar:%%DATADIR%%/platform9/lib/org-openide-modules.jar:%%DATADIR%%/platform9/lib/org-openide-util.jar:%%CLSSPTH%%" -Dnetbeans.system_http_proxy=DIRECT -Dnetbeans.system_http_non_proxy_hosts= -Dnetbeans.dirs="%%DATADIR%%/ireport:%%DATADIR%%/ide10:%%DATADIR%%/nb6.5:" -Dnetbeans.home="%%DATADIR%%/platform9" -Xms256m -Xmx512m -Dorg.netbeans.ProxyClassLoader.level=1000 org.netbeans.Main --userdir $IREPORT_HOME --branding ireport "$@"
|
@ -6,4 +6,4 @@ with JFreeChart, one of the most diffused OpenSource chart library for java.
|
||||
The data to print can be retrieved through several ways including multiple JDBC
|
||||
connections, TableModels, JavaBeans, XML, etc.
|
||||
|
||||
WWW: http://ireport.sourceforge.net/
|
||||
WWW: http://www.jasperforge.org/projects/ireport
|
||||
|
@ -1,5 +0,0 @@
|
||||
=============================================================================
|
||||
Several compilers are available; if compilation fails with JasperReports
|
||||
default, choose the menu item Tools / Options..., then select "Java Compiler"
|
||||
in the Compiler tab.
|
||||
=============================================================================
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user