diff options
author | Johan van Selst <johans@FreeBSD.org> | 2012-06-27 19:52:13 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2012-06-27 19:52:13 +0000 |
commit | a61925225764f1ab64e31639eae169eb529c7758 (patch) | |
tree | 75a63eed7f902250d8003350b2b37ac8f92bb384 /textproc/ocaml-pxp | |
parent | 35a670c59f3774b34f29abb0e1be9a8ef51a3994 (diff) | |
download | ports-a61925225764f1ab64e31639eae169eb529c7758.tar.gz ports-a61925225764f1ab64e31639eae169eb529c7758.zip |
Notes
Diffstat (limited to 'textproc/ocaml-pxp')
-rw-r--r-- | textproc/ocaml-pxp/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/ocaml-pxp/Makefile b/textproc/ocaml-pxp/Makefile index 644a6460754a..553ad7eb0468 100644 --- a/textproc/ocaml-pxp/Makefile +++ b/textproc/ocaml-pxp/Makefile @@ -17,11 +17,17 @@ COMMENT= Validating XML parser for OCaml BUILD_DEPENDS= ${LOCALBASE}/${OCAML_SITELIBDIR}/netstring/netstring.a:${PORTSDIR}/www/ocaml-net RUN_DEPENDS= ${LOCALBASE}/${OCAML_SITELIBDIR}/netstring/netstring.a:${PORTSDIR}/www/ocaml-net +OPTIONS_DEFINE= ULEX +OPTIONS_DEFAULT=ULEX +ULEX_DESC= Include UTF-8 lexical analyzer support + USE_OCAML= true USE_OCAML_FINDLIB= true USE_OCAML_LDCONFIG= true -.if !defined(WITHOUT_ULEX) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MULEX} BUILD_DEPENDS+= ${LOCALBASE}/${OCAML_SITELIBDIR}/ulex/ulexing.a:${PORTSDIR}/devel/ocaml-ulex RUN_DEPENDS+= ${LOCALBASE}/${OCAML_SITELIBDIR}/ulex/ulexing.a:${PORTSDIR}/devel/ocaml-ulex .endif |