1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/databases/jasperreports/Makefile
Daniel Engberg 9cba1e488a databases/jasperreports: Deprecate and set expiration date to 2022-03-31
Released in 2013 and depends on textproc/crimson which upstream retired in 2010
Upstream is now at 6.X

Approved by:	arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D32380
2021-10-11 21:38:05 +02:00

69 lines
1.8 KiB
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
PORTNAME= jasperreports
PORTVERSION= 5.5.2
PORTREVISION= 2
CATEGORIES= databases print java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/JasperReports%20${PORTVERSION}
DISTFILES= ${PORTNAME}-${PORTVERSION}.jar ${PORTNAME}-applet-${PORTVERSION}.jar
MAINTAINER= ports@FreeBSD.org
COMMENT= Powerful open source Java reporting tool
DEPRECATED= Unsupported by upstream, released in 2013
EXPIRATION_DATE=2022-03-31
RUN_DEPENDS= ${JAVALIBDIR}/itext.jar:devel/itext \
${JAVALIBDIR}/xalan.jar:textproc/xalan-j \
${JAVALIBDIR}/crimson.jar:textproc/crimson \
${JAVALIBDIR}/poi.jar:textproc/apache-poi \
${JAVALIBDIR}/jfreechart.jar:java/jfreechart \
${LOCALBASE}/share/java/batik/lib/batik-all.jar:graphics/batik \
${JAVALIBDIR}/commons-beanutils.jar:java/apache-commons-beanutils\
${JAVALIBDIR}/commons-digester.jar:textproc/apache-commons-digester
USES= cpe
CPE_VENDOR= jaspersoft
OPTIONS_DEFINE= MYSQL PGSQL HSQLDB
OPTIONS_DEFAULT=MYSQL PGSQL
HSQLDB_DESC= Install libraries required for HSQLDB
USE_JAVA= yes
NO_BUILD= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= .
LICENSE= LGPL3
PLIST_FILES= ${DISTFILES:S|^|%%JAVAJARDIR%%/|:S|-${PORTVERSION}||}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
RUN_DEPENDS+= ${JAVALIBDIR}/mysql-connector-java.jar:databases/mysql-connector-java
.else
RUN_DEPENDS+= ${JAVALIBDIR}/log4j.jar:devel/log4j
.endif
.if ${PORT_OPTIONS:MPGSQL}
RUN_DEPENDS+= ${JAVALIBDIR}/postgresql.jar:databases/postgresql-jdbc
.endif
.if ${PORT_OPTIONS:MHSQLDB}
RUN_DEPENDS+= ${JAVALIBDIR}/hsqldb.jar:databases/hsqldb
.endif
post-extract:
.for jf in ${DISTFILES}
${MV} ${WRKDIR}/${jf} ${WRKDIR}/${jf:S|-${PORTVERSION}||}
.endfor
do-install:
${INSTALL_DATA} ${DISTFILES:S|^|${WRKDIR}/|:S|-${PORTVERSION}||} \
${STAGEDIR}${JAVAJARDIR}
.include <bsd.port.mk>