diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2006-03-15 14:37:26 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2006-03-15 14:37:26 +0000 |
commit | 9edeb338bd3968bbc4db370bba65f80dbca32916 (patch) | |
tree | 83ce0dd65b4bb7ab15b1af2c1bf06ae47e81f26d /databases/jasperreports | |
parent | - Update to 20060301 (diff) |
- Add an optional dependency towards databases/hsqldb;
- fix Oracle 9i dependency.
Notes
Notes:
svn path=/head/; revision=157287
Diffstat (limited to 'databases/jasperreports')
-rw-r--r-- | databases/jasperreports/Makefile | 15 |
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: |