1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Remove the optionnal ocamlduce dependency

Bump portrevision as it was on by default
This commit is contained in:
Baptiste Daroussin 2011-08-14 23:11:06 +00:00
parent 4c00776939
commit 29c74b6b82
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279729

View File

@ -6,6 +6,7 @@
PORTNAME= ocsigen
PORTVERSION= 1.1.0
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.ocsigen.org/download/
@ -28,8 +29,7 @@ USE_OCAML_LDCONFIG= yes
SA_DIR= ${PREFIX}/${OCAML_SITELIBDIR}
OPTIONS= OCAMLDUCE "Use OCamlDuce support" ON \
SQLITE "Use sqlite as a database backend" OFF \
OPTIONS= SQLITE "Use sqlite as a database backend" OFF \
CAMLZIP "Use camlzip for compression" ON
USE_GMAKE= yes
@ -45,7 +45,8 @@ CONFIGURE_ARGS= --name ${PORTNAME} \
--docdir ${DOCSDIR} \
--sysconfdir ${PREFIX}/etc \
--staticpagesdir ${PREFIX}/share/ocsigen/www \
--uploaddir /tmp
--uploaddir /tmp \
--disable-ocamlduce
ALL_TARGET= depend all
INSTALL_TARGET= installnodoc
@ -58,16 +59,6 @@ MAN1= ocsigen.1
.include <bsd.port.pre.mk>
.if defined(WITHOUT_OCAMLDUCE)
CONFIGURE_ARGS+= --disable-ocamlduce
.else
BUILD_DEPENDS+= ${SA_DIR}/ocamlduce/ocamlduce.a:${PORTSDIR}/lang/ocamlduce
RUN_DEPENDS+= ${SA_DIR}/ocamlduce/ocamlduce.a:${PORTSDIR}/lang/ocamlduce
CONFIGURE_ARGS+= --enable-ocamlduce
PLIST_FILES+= lib/ocsigen/examples/exampleduce.cmo \
lib/ocsigen/extensions/eliom_duce.cma
.endif
.if defined(WITH_SQLITE)
BUILD_DEPENDS+= ${SA_DIR}/sqlite3/sqlite3.a:${PORTSDIR}/databases/ocaml-sqlite3
RUN_DEPENDS+= ${SA_DIR}/sqlite3/sqlite3.a:${PORTSDIR}/databases/ocaml-sqlite3