diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2005-06-12 19:21:53 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2005-06-12 19:21:53 +0000 |
commit | 3117c615412f5777098f89eaacb39c0ab619eb70 (patch) | |
tree | 83923dd1644702b120e1e739d5c764d08b0e9069 /devel/ireport | |
parent | 249616773be2a014ae9ef0e9763f63b2c791e6c2 (diff) | |
download | ports-3117c615412f5777098f89eaacb39c0ab619eb70.tar.gz ports-3117c615412f5777098f89eaacb39c0ab619eb70.zip |
Notes
Diffstat (limited to 'devel/ireport')
-rw-r--r-- | devel/ireport/Makefile | 98 | ||||
-rw-r--r-- | devel/ireport/distinfo | 2 | ||||
-rw-r--r-- | devel/ireport/files/patch-bin_startup.sh | 35 | ||||
-rw-r--r-- | devel/ireport/pkg-descr | 9 | ||||
-rw-r--r-- | devel/ireport/pkg-message | 5 | ||||
-rw-r--r-- | devel/ireport/pkg-plist | 139 |
6 files changed, 288 insertions, 0 deletions
diff --git a/devel/ireport/Makefile b/devel/ireport/Makefile new file mode 100644 index 000000000000..37943d828cec --- /dev/null +++ b/devel/ireport/Makefile @@ -0,0 +1,98 @@ +# New ports collection makefile for: ireport +# Date created: 21 May 2005 +# Whom: Thierry Thomas <thierry@pompo.net> +# +# $FreeBSD$ +# + +PORTNAME= ireport +PORTVERSION= 0.5.0 +CATEGORIES= devel databases java +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= iReport-${PORTVERSION} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= A visual report builder/designer for JasperReports + +RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper \ + ${JAVALIBDIR}/bsh.jar:${PORTSDIR}/java/bsh \ + ${JAVALIBDIR}/looks.jar:${PORTSDIR}/devel/looks \ + ${JAVALIBDIR}/tinylaf.jar:${PORTSDIR}/devel/tinylaf \ + ${JAVALIBDIR}/jcmdline.jar:${PORTSDIR}/devel/jcmdline \ + ${JAVALIBDIR}/barbecue.jar:${PORTSDIR}/graphics/barbecue \ + ${JAVALIBDIR}/jfreechart.jar:${PORTSDIR}/java/jfreechart \ + ${JAVALIBDIR}/jasperreports.jar:${PORTSDIR}/databases/jasperreports + +USE_JAVA= yes +JAVA_VERSION= 1.4+ +USE_REINPLACE= yes +NO_BUILD= yes + +PLIST_SUB= VER=${PORTVERSION} VERMAN=0.2.0 + +JARFILES= groovy-all-1.0-beta-10.jar iReport.jar jdt-compiler.jar \ + jr-bsh-compiler.jar jr-groovy-compiler.jar + +BASEFILES= Changelog.txt relnotes${PORTVERSION}.html +SUBDIRS= fonts plugins templates + +# Jarfiles to be included in classpath +CLSSPTH= barbecue bsh commons-beanutils commons-collections commons-digester \ + commons-logging-api commons-logging groovy-all-1.0-beta-10 iReport \ + itext jasperreports jcmdline jcommon jdt-compiler jfreechart \ + jr-bsh-compiler jr-groovy-compiler log4j looks mysql-connector-java \ + postgresql poi tinylaf xalan xercesImpl xmlParserAPIs + +.if !defined(NOPORTDOCS) +SUBDIRS+= docs +.endif + +.include <bsd.port.pre.mk> + +# Remark: Oracle's dependencies already registered by databases/jasperreports +.if exists(${JAVALIBDIR}/classes12.zip) +WITH_ORACLE8= yes +.endif +.if defined(WITH_ORACLE8) +CLSSORA= classes12.zip nls_charset12.zip +.endif + +.if exists(${JAVALIBDIR}/ojdbc14.zip) +WITH_ORACLE9= yes +.endif +.if defined(WITH_ORACLE9) +CLSSORA+= ojdbc14.jar ocrs12.zip +.endif + +post-extract: + @${FIND} ${WRKSRC} -name "*.bat" -exec ${RM} {} \; + @${RMDIR} -p ${WRKSRC}/docs/releases/Release0.3.2/Release\ Document\ 0.3.2_files \ + 2>/dev/null | ${TRUE} + +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}/{} \; +.if !defined(NOPORTDOCS) + ${LN} -sf ${DATADIR}/docs ${DOCSDIR} +.endif + +post-install: + @${ECHO_MSG} + @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} + +.include <bsd.port.post.mk> diff --git a/devel/ireport/distinfo b/devel/ireport/distinfo new file mode 100644 index 000000000000..3371f722be84 --- /dev/null +++ b/devel/ireport/distinfo @@ -0,0 +1,2 @@ +MD5 (iReport-0.5.0.tar.gz) = d233a4d26cea9e89904e8338e7c2aff8 +SIZE (iReport-0.5.0.tar.gz) = 14388207 diff --git a/devel/ireport/files/patch-bin_startup.sh b/devel/ireport/files/patch-bin_startup.sh new file mode 100644 index 000000000000..8a7f62394c4d --- /dev/null +++ b/devel/ireport/files/patch-bin_startup.sh @@ -0,0 +1,35 @@ +--- bin/startup.sh.orig Fri Jan 28 02:01:47 2005 ++++ bin/startup.sh Mon May 23 21:45:26 2005 +@@ -1,30 +1,6 @@ + #! /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":$IREPORT_CLASSPATH +-IREPORT_HOME="${EXEDIR}/.." ++IREPORT_CLASSPATH="%%CLSSPTH%%" ++IREPORT_HOME="%%DATADIR%%" + + java -classpath "$IREPORT_CLASSPATH:$CLASSPATH" -Direport.home=$IREPORT_HOME it.businesslogic.ireport.gui.MainFrame "$@" diff --git a/devel/ireport/pkg-descr b/devel/ireport/pkg-descr new file mode 100644 index 000000000000..6fefe7727572 --- /dev/null +++ b/devel/ireport/pkg-descr @@ -0,0 +1,9 @@ +iReport is a powerful, intuitive and easy to use visual report builder/designer +for JasperReports written in 100% pure java. This tool allows users to visually +edit complex reports with charts, images, subreports,... iReport is integrated +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/ diff --git a/devel/ireport/pkg-message b/devel/ireport/pkg-message new file mode 100644 index 000000000000..449554b4812d --- /dev/null +++ b/devel/ireport/pkg-message @@ -0,0 +1,5 @@ +============================================================================= +Several compilers are available; if compilation fails with JasperReports +default, choose the menu item Tools / Options..., then select "Java Compiler" +in the Compiler tab. +============================================================================= diff --git a/devel/ireport/pkg-plist b/devel/ireport/pkg-plist new file mode 100644 index 000000000000..0ce0bfa416b2 --- /dev/null +++ b/devel/ireport/pkg-plist @@ -0,0 +1,139 @@ +bin/iReport +%%DATADIR%%/Changelog.txt +%%DATADIR%%/bin/startup.sh +%%PORTDOCS%%%%DATADIR%%/docs/cap2.html +%%PORTDOCS%%%%DATADIR%%/docs/cap3.html +%%PORTDOCS%%%%DATADIR%%/docs/cap4.html +%%PORTDOCS%%%%DATADIR%%/docs/cap5.html +%%PORTDOCS%%%%DATADIR%%/docs/cap6.html +%%PORTDOCS%%%%DATADIR%%/docs/cap7.html +%%PORTDOCS%%%%DATADIR%%/docs/cap8.html +%%PORTDOCS%%%%DATADIR%%/docs/images/logo.gif +%%PORTDOCS%%%%DATADIR%%/docs/images/logo_igor.gif +%%PORTDOCS%%%%DATADIR%%/docs/images/manual_p1.jpg +%%PORTDOCS%%%%DATADIR%%/docs/images/manual_p3.jpg +%%PORTDOCS%%%%DATADIR%%/docs/images/manual_p4.jpg +%%PORTDOCS%%%%DATADIR%%/docs/images/manual_p5.jpg +%%PORTDOCS%%%%DATADIR%%/docs/images/manual_p6.jpg +%%PORTDOCS%%%%DATADIR%%/docs/images/new_manual.jpg +%%PORTDOCS%%%%DATADIR%%/docs/images/null.gif +%%PORTDOCS%%%%DATADIR%%/docs/images/regsoft.gif +%%PORTDOCS%%%%DATADIR%%/docs/images/sflogo.gif +%%PORTDOCS%%%%DATADIR%%/docs/index.html +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%.html +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/2_2.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/3_1.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/3_2.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/3_3.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/3_4.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/3_4big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/3_5.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/3_5big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/3_6.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/3_6big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/3_7.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_1.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_1big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_2.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_2big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_3.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_3big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_4.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_4big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_5.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_6.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_6big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_7.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_7big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_8.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/4_8big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/5_1.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/5_2.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/5_2big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/5_3.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/5_4.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/5_5.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/5_5big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/6_1.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/7_1.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/7_1big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/7_2.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/7_2big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/7_3.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/7_3big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_0.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_1.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_1big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_2.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_2big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_3.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_3big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_4.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_4big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_5.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_5big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_6.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_6big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_7.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_7big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_8.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_8big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_9.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/8_9big.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/options1.jpg +%%PORTDOCS%%%%DATADIR%%/docs/manual%%VERMAN%%/stylesheet.css +%%PORTDOCS%%%%DATADIR%%/docs/manual0.4.1.html +%%DATADIR%%/fonts/Balker.ttf +%%DATADIR%%/fonts/Domestic_Manners.ttf +%%DATADIR%%/fonts/Dustismo.ttf +%%DATADIR%%/fonts/Dustismo_Roman.ttf +%%DATADIR%%/fonts/Dustismo_Roman_Bold.ttf +%%DATADIR%%/fonts/Dustismo_Roman_Italic.ttf +%%DATADIR%%/fonts/Dustismo_Roman_Italic_Bold.ttf +%%DATADIR%%/fonts/El_Abogado_Loco.ttf +%%DATADIR%%/fonts/It wasnt me.ttf +%%DATADIR%%/fonts/Junkyard.ttf +%%DATADIR%%/fonts/MarkedFool.ttf +%%DATADIR%%/fonts/PenguinAttack.ttf +%%DATADIR%%/fonts/Swift.ttf +%%DATADIR%%/fonts/Wargames.ttf +%%DATADIR%%/fonts/Winks.ttf +%%DATADIR%%/fonts/dustismo_bold.ttf +%%DATADIR%%/fonts/dustismo_bold_italic.ttf +%%DATADIR%%/fonts/dustismo_italic.ttf +%%DATADIR%%/fonts/flatline.ttf +%%DATADIR%%/fonts/progenisis.ttf +@exec ln -sf %D/%%JAVAJARDIR%% %D/%%DATADIR%%/lib +@unexec rm -f %D/%%DATADIR%%/lib +%%DATADIR%%/plugins/checkupdate.xml +%%DATADIR%%/plugins/example_1.xml +%%DATADIR%%/plugins/massive_compiler.xml +%%DATADIR%%/plugins/oracle_options.xml +%%DATADIR%%/plugins/text_wizard.xml +%%DATADIR%%/relnotes%%VER%%.html +%%DATADIR%%/templates/YBC.gif +%%DATADIR%%/templates/YBC.xml +%%DATADIR%%/templates/classicC.gif +%%DATADIR%%/templates/classicC.xml +%%DATADIR%%/templates/classicT.gif +%%DATADIR%%/templates/classicT.xml +%%DATADIR%%/templates/classic_landscapeT.gif +%%DATADIR%%/templates/classic_landscapeT.xml +%%DATADIR%%/templates/grayC.gif +%%DATADIR%%/templates/grayC.xml +%%DATADIR%%/templates/grayT.gif +%%DATADIR%%/templates/grayT.xml +%%DATADIR%%/templates/gray_landscapeT.gif +%%DATADIR%%/templates/gray_landscapeT.xml +%%JAVAJARDIR%%/iReport.jar +%%JAVAJARDIR%%/jdt-compiler.jar +@dirrm %%DATADIR%%/templates +@dirrm %%DATADIR%%/plugins +@dirrm %%DATADIR%%/fonts +%%PORTDOCS%%@dirrm %%DATADIR%%/docs/manual%%VERMAN%% +%%PORTDOCS%%@dirrm %%DATADIR%%/docs/images +%%PORTDOCS%%@dirrm %%DATADIR%%/docs +@dirrm %%DATADIR%%/bin +@dirrm %%DATADIR%% +%%PORTDOCS%%@exec ln -sf %D/%%DATADIR%%/docs %D/%%DOCSDIR%% +%%PORTDOCS%%@unexec rm -f %D/%%DOCSDIR%% |