aboutsummaryrefslogtreecommitdiff
path: root/databases/jasperreports
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-03-15 14:37:26 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-03-15 14:37:26 +0000
commit9edeb338bd3968bbc4db370bba65f80dbca32916 (patch)
tree83ce0dd65b4bb7ab15b1af2c1bf06ae47e81f26d /databases/jasperreports
parentbeee07e38fc6f41895b1c1ecbf14fa0447f112a0 (diff)
downloadports-9edeb338bd3968bbc4db370bba65f80dbca32916.tar.gz
ports-9edeb338bd3968bbc4db370bba65f80dbca32916.zip
Notes
Diffstat (limited to 'databases/jasperreports')
-rw-r--r--databases/jasperreports/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/databases/jasperreports/Makefile b/databases/jasperreports/Makefile
index bed0b4682868..be3a5a708b59 100644
--- a/databases/jasperreports/Makefile
+++ b/databases/jasperreports/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jasperreports
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= databases print java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -47,11 +48,18 @@ WITH_ORACLE8= yes
RUN_DEPENDS+= ${JAVALIBDIR}/classes12.zip:${PORTSDIR}/databases/jdbc-oracle8i
.endif
-.if exists(${JAVALIBDIR}/ojdbc14.zip)
+.if exists(${JAVALIBDIR}/ojdbc14.jar)
WITH_ORACLE9= yes
.endif
.if defined(WITH_ORACLE9)
-RUN_DEPENDS+= ${JAVALIBDIR}/ojdbc14.zip:${PORTSDIR}/databases/jdbc-oracle9i
+RUN_DEPENDS+= ${JAVALIBDIR}/ojdbc14.jar:${PORTSDIR}/databases/jdbc-oracle9i
+.endif
+
+.if exists(${JAVALIBDIR}/hsqldb.jar)
+WITH_HSQLDB= yes
+.endif
+.if defined(WITH_HSQLDB)
+RUN_DEPENDS+= ${JAVALIBDIR}/hsqldb.jar:${PORTSDIR}/databases/hsqldb
.endif
pre-everything::
@@ -69,6 +77,9 @@ pre-everything::
.if !defined(WITH_ORACLE9)
@${ECHO_MSG} '* Define WITH_ORACLE9 to add Oracle 9i support. *'
.endif
+.if !defined(WITH_HSQLDB)
+ @${ECHO_MSG} '* Define WITH_HSQLDB to add HSQLDB support. *'
+.endif
@${ECHO_MSG} '*********************************************************'
post-extract: