aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-03-15 22:37:26 +0800
committerthierry <thierry@FreeBSD.org>2006-03-15 22:37:26 +0800
commit44474a23b0fd49cff4c38e982e3d1d895661db61 (patch)
tree86b706f4785378a0a23b813b4afb8cac39317d69 /databases
parent8c85e2d5e810a6168a5f063fa05a87fe3f85b3a9 (diff)
downloadfreebsd-ports-gnome-44474a23b0fd49cff4c38e982e3d1d895661db61.tar.gz
freebsd-ports-gnome-44474a23b0fd49cff4c38e982e3d1d895661db61.tar.zst
freebsd-ports-gnome-44474a23b0fd49cff4c38e982e3d1d895661db61.zip
- Add an optional dependency towards databases/hsqldb;
- fix Oracle 9i dependency.
Diffstat (limited to 'databases')
-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: