diff options
author | thierry <thierry@FreeBSD.org> | 2005-06-13 03:20:30 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2005-06-13 03:20:30 +0800 |
commit | 2f72ff5034cd897d3035e639fd0b46413e974109 (patch) | |
tree | 583473b51897da815e1f3d637265c2cdec5a7bf8 /databases/jasperreports | |
parent | 0b339a9c5a0784389b353d6f988f4c8e962c3ba3 (diff) | |
download | freebsd-ports-gnome-2f72ff5034cd897d3035e639fd0b46413e974109.tar.gz freebsd-ports-gnome-2f72ff5034cd897d3035e639fd0b46413e974109.tar.zst freebsd-ports-gnome-2f72ff5034cd897d3035e639fd0b46413e974109.zip |
Add jasperreports 0.6.8, a powerful open source Java reporting tool.
Diffstat (limited to 'databases/jasperreports')
-rw-r--r-- | databases/jasperreports/Makefile | 82 | ||||
-rw-r--r-- | databases/jasperreports/distinfo | 4 | ||||
-rw-r--r-- | databases/jasperreports/pkg-descr | 11 |
3 files changed, 97 insertions, 0 deletions
diff --git a/databases/jasperreports/Makefile b/databases/jasperreports/Makefile new file mode 100644 index 000000000000..21a65253115e --- /dev/null +++ b/databases/jasperreports/Makefile @@ -0,0 +1,82 @@ +# New ports collection makefile for: jasperreports +# Date created: 20 May 2005 +# Whom: Thierry Thomas <thierry@pompo.net> +# +# $FreeBSD$ +# + +PORTNAME= jasperreports +PORTVERSION= 0.6.8 +CATEGORIES= databases print java +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTFILES= ${PORTNAME}-${PORTVERSION}.jar ${PORTNAME}-${PORTVERSION}-applet.jar + +MAINTAINER= thierry@FreeBSD.org +COMMENT= JasperReports is a powerful open source Java reporting tool + +RUN_DEPENDS= ${JAVALIBDIR}/itext.jar:${PORTSDIR}/devel/itext \ + ${JAVALIBDIR}/xalan.jar:${PORTSDIR}/textproc/xalan-j \ + ${JAVALIBDIR}/poi.jar:${PORTSDIR}/textproc/jakarta-poi \ + ${JAVALIBDIR}/commons-digester.jar:${PORTSDIR}/textproc/jakarta-commons-digester + +.if !defined(WITHOUT_MYSQL) +RUN_DEPENDS+= ${JAVALIBDIR}/mysql-connector-java.jar:${PORTSDIR}/databases/mysql-connector-java +.endif + +.if !defined(WITHOUT_PGSQL) +RUN_DEPENDS+= ${JAVALIBDIR}/postgresql.jar:${PORTSDIR}/databases/postgresql-jdbc +.endif + +USE_JAVA= yes +JAVA_VERSION= 1.2+ +NO_BUILD= yes +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= # empty +EXTRACT_AFTER_ARGS= . + +PLIST_FILES= ${DISTFILES:S|^|%%JAVAJARDIR%%/|:S|-${PORTVERSION}||} + +.include <bsd.port.pre.mk> + +.if exists(${JAVALIBDIR}/classes12.zip) +WITH_ORACLE8= yes +.endif +.if defined(WITH_ORACLE8) +RUN_DEPENDS+= ${JAVALIBDIR}/classes12.zip:${PORTSDIR}/databases/jdbc-oracle8i +.endif + +.if exists(${JAVALIBDIR}/ojdbc14.zip) +WITH_ORACLE9= yes +.endif +.if defined(WITH_ORACLE9) +RUN_DEPENDS+= ${JAVALIBDIR}/ojdbc14.zip:${PORTSDIR}/databases/jdbc-oracle9i +.endif + +pre-everything:: + @${ECHO_MSG} '*********************************************************' + @${ECHO_MSG} '* You need at least a JDBC driver. *' +.if !defined(WITHOUT_MYSQL) + @${ECHO_MSG} '* Define WITHOUT_MYSQL to remove MySQL support. *' +.endif +.if !defined(WITHOUT_PGSQL) + @${ECHO_MSG} '* Define WITHOUT_PGSQL to remove PostgreSQL support. *' +.endif +.if !defined(WITH_ORACLE8) + @${ECHO_MSG} '* Define WITH_ORACLE8 to add Oracle 8i support. *' +.endif +.if !defined(WITH_ORACLE9) + @${ECHO_MSG} '* Define WITH_ORACLE9 to add Oracle 9i support. *' +.endif + @${ECHO_MSG} '*********************************************************' + +post-extract: +.for jf in ${DISTFILES} + ${MV} ${WRKDIR}/${jf} ${WRKDIR}/${jf:S|-${PORTVERSION}||} +.endfor + +do-install: + ${INSTALL_DATA} ${DISTFILES:S|^|${WRKDIR}/|:S|-${PORTVERSION}||} \ + ${JAVAJARDIR} + +.include <bsd.port.post.mk> diff --git a/databases/jasperreports/distinfo b/databases/jasperreports/distinfo new file mode 100644 index 000000000000..506e2979dbb2 --- /dev/null +++ b/databases/jasperreports/distinfo @@ -0,0 +1,4 @@ +MD5 (jasperreports-0.6.8.jar) = 3ec1bb4d0a5cc5fbf723ff64b197427c +SIZE (jasperreports-0.6.8.jar) = 607320 +MD5 (jasperreports-0.6.8-applet.jar) = a6b5b18ba6bb007a4b6df319d919b754 +SIZE (jasperreports-0.6.8-applet.jar) = 118296 diff --git a/databases/jasperreports/pkg-descr b/databases/jasperreports/pkg-descr new file mode 100644 index 000000000000..7dea46cd6ec1 --- /dev/null +++ b/databases/jasperreports/pkg-descr @@ -0,0 +1,11 @@ +JasperReports is a powerful open source Java reporting tool that has the +ability to deliver rich content onto the screen, to the printer or into +PDF, HTML, XLS, CSV and XML files. + +It is entirely written in Java and can be used in a variety of Java enabled +applications, including J2EE or Web applications, to generate dynamic content. + +Its main purpose is to help creating page oriented, ready to print documents in +a simple and flexible manner. + +WWW: http://jasperreports.sourceforge.net/ |