Index: head/devel/monotone-viz/Makefile =================================================================== --- head/devel/monotone-viz/Makefile (revision 386136) +++ head/devel/monotone-viz/Makefile (revision 386137) @@ -1,34 +1,35 @@ # Created by: Tarasov Alexey # $FreeBSD$ PORTNAME= monotone-viz PORTVERSION= 1.0.2 PORTREVISION= 6 CATEGORIES= devel MASTER_SITES= http://oandrieu.nerim.net/monotone-viz/ MAINTAINER= ports@FreeBSD.org COMMENT= Visual interface for Monotone VCS with revision graphs LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz \ mtn:${PORTSDIR}/devel/monotone \ lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 USES= gmake USE_OCAML= yes +USE_OCAML_CAMLP4=yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --without-local-lablgtk ALL_TARGET= MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/monotone-viz post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/monotone-viz .include Index: head/devel/ocaml-lwt/Makefile =================================================================== --- head/devel/ocaml-lwt/Makefile (revision 386136) +++ head/devel/ocaml-lwt/Makefile (revision 386137) @@ -1,80 +1,81 @@ # Created by: jaapb@kerguelen.org # $FreeBSD$ PORTNAME= lwt PORTVERSION= 2.4.3 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://ocsigen.org/download/ PKGNAMEPREFIX= ocaml- MAINTAINER= jaapb@kerguelen.org COMMENT= Cooperative threading library for OCaml LICENSE= LGPL21 BUILD_DEPENDS= ${SA_DIR}/react/react.a:${PORTSDIR}/devel/ocaml-react \ ${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl RUN_DEPENDS= ${SA_DIR}/react/react.a:${PORTSDIR}/devel/ocaml-react \ ${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl MAKE_JOBS_UNSAFE= yes USES= gmake USE_OCAML= yes OCAMLC_DEPEND= ocaml>=3.11:${OCAMLC_PORT} USE_OCAML_FINDLIB= yes +USE_OCAML_CAMLP4= yes USE_OCAMLFIND_PLIST= yes USE_OCAML_LDCONFIG= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --destdir "${STAGEDIR}" \ --prefix "${PREFIX}" \ --enable-ssl \ --enable-react \ --disable-libev \ --disable-glib DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME} SA_DIR= ${PREFIX}/${OCAML_SITELIBDIR} OPTIONS_DEFINE= TOPLEVEL DOCS OPTIONS_DEFAULT= TOPLEVEL TOPLEVEL_DESC= Include enhanced OCaml toplevel .include .if ${PORT_OPTIONS:MTOPLEVEL} CONFIGURE_ARGS+= --enable-toplevel --enable-text BUILD_DEPENDS+= ${SA_DIR}/text/text.a:${PORTSDIR}/textproc/ocaml-text RUN_DEPENDS+= ${SA_DIR}/text/text.a:${PORTSDIR}/textproc/ocaml-text PLIST_FILES= bin/lwt-toplevel .else CONFIGURE_ARGS+= --disable-toplevel --disable-text .endif .if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --enable-docs --docdir ${STAGEDIR}${DOCSDIR} # For some reason, ocaml-text is needed when building documentation BUILD_DEPENDS+= ${SA_DIR}/text/text.a:${PORTSDIR}/textproc/ocaml-text RUN_DEPENDS+= ${SA_DIR}/text/text.a:${PORTSDIR}/textproc/ocaml-text .else CONFIGURE_ARGS+= --disable-docs .endif post-patch: @${REINPLACE_CMD} -e 's,"install" :: findlib_name,"install" :: "-destdir ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /dev/null" :: findlib_name,' \ ${WRKSRC}/setup.ml do-configure: (cd ${WRKSRC}; ocaml setup.ml -configure ${CONFIGURE_ARGS}) @${REINPLACE_CMD} -e 's%"-lev"%"-lev -L${PREFIX}/lib/ev -Wl,-R${PREFIX}/lib/ev"%' \ ${WRKSRC}/setup.data do-build: (cd ${WRKSRC}; ocaml setup.ml -build) do-install: ${MKDIR} ${STAGEDIR}${SA_DIR} (cd ${WRKSRC}; ocaml setup.ml -install) .include Index: head/devel/ocaml-sexplib/Makefile =================================================================== --- head/devel/ocaml-sexplib/Makefile (revision 386136) +++ head/devel/ocaml-sexplib/Makefile (revision 386137) @@ -1,42 +1,43 @@ # Created by: Stanislav Sedov # $FreeBSD$ PORTNAME= sexplib PORTVERSION= 111.03.00 CATEGORIES= devel MASTER_SITES= https://ocaml.janestreet.com/ocaml-core/%SUBDIR%/ MASTER_SITE_SUBDIR= ${PORTVERSION}/individual PKGNAMEPREFIX= ocaml- MAINTAINER= ports@FreeBSD.org COMMENT= OCaml library for working with S-expressions LICENSE= APACHE20 BSD3CLAUSE LICENSE_COMB= multi BUILD_DEPENDS= ocaml-type-conv>0:${PORTSDIR}/devel/ocaml-typeconv RUN_DEPENDS= ocaml-type-conv>0:${PORTSDIR}/devel/ocaml-typeconv USE_OCAML= yes USE_OCAML_FINDLIB=yes +USE_OCAML_CAMLP4=yes USE_OCAMLFIND_PLIST=yes OCAML_PKGDIRS= ${PORTNAME} ${PORTNAME}_num ${PORTNAME}_unix USES= gmake HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs MAKE_JOBS_UNSAFE= yes DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} PORTDOCS= * OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in CHANGES.txt README.md (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor .include Index: head/lang/mtasc/Makefile =================================================================== --- head/lang/mtasc/Makefile (revision 386136) +++ head/lang/mtasc/Makefile (revision 386137) @@ -1,68 +1,69 @@ # Created by: Marcin Cieslak # $FreeBSD$ PORTNAME= mtasc PORTVERSION= 1.14 PORTREVISION= 1 CATEGORIES= lang www MASTER_SITES= LOCAL/chinsan MAINTAINER= saper@saper.info COMMENT= Motion-Twin ActionScript 2 Compiler BUILD_DEPENDS= ${LOCALBASE}/lib/ocaml/site-lib/extlib/IO.cmi:${PORTSDIR}/devel/ocaml-extlib USE_OCAML= yes USE_OCAML_FINDLIB=yes +USE_OCAML_CAMLP4=yes OCAML_PKGDIRS= # This port uses ocaml-findlib but doesn't install one OCAMLLEX?= ${LOCALBASE}/bin/ocamllex OCAMLOPT?= ${LOCALBASE}/bin/ocamlopt ZLIB_OPTS= -cclib "${WRKSRC}/extc/extc_stubs.o" -cclib -lz extc.mli extc.ml SWFLIB_INC= -I ${WRKSRC}/extc -I ${WRKSRC}/swflib SWFLIB_FILES= as3.mli as3code.ml as3parse.ml swf.ml swfZip.ml actionScript.ml \ swfParser.ml MTASC_OBJ= expr.cmx lexer.cmx parser.cmx typer.cmx class.cmx plugin.cmx\ genSwf.cmx main.cmx WRKSRC= ${WRKDIR}/ocaml PORTDATA= std std8 OPTIONS_DEFINE= DOCS EXAMPLES do-build: (cd ${WRKSRC}/extc && \ ${OCAMLOPT} ${WRKSRC}/extc/extc_stubs.c && \ ${OCAMLOPT} -a -o extc.cmxa ${ZLIB_OPTS} ) (cd ${WRKSRC}/swflib && \ ${OCAMLFIND} ocamlopt -package extlib \ -a -o swflib.cmxa ${SWFLIB_INC} ${SWFLIB_FILES} ) (cd ${WRKSRC}/mtasc && \ ${OCAMLLEX} lexer.mll && \ ${OCAMLOPT} -c expr.ml lexer.ml && \ ${OCAMLOPT} -c -pp camlp4o parser.ml && \ ${OCAMLFIND} ocamlopt -package extlib -c ${SWFLIB_INC} \ typer.ml class.ml plugin.ml \ genSwf.ml main.ml ) (cd ${WRKSRC}/mtasc && \ ${OCAMLFIND} ocamlopt -package extlib -linkpkg \ -o ${WRKSRC}/mtasc-bin \ ${WRKSRC}/extc/extc.cmxa \ ${WRKSRC}/swflib/swflib.cmxa \ ${MTASC_OBJ} ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mtasc-bin ${STAGEDIR}${PREFIX}/bin/mtasc @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/mtasc && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) ${INSTALL_MAN} ${WRKSRC}/mtasc/doc/mtasc.1 ${STAGEDIR}${PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/mtasc/doc/*.txt ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/mtasc/doc/HelloWorld.as ${STAGEDIR}${EXAMPLESDIR} # Remove orphan dir created by bsd.ocaml.mk -@${RMDIR} -p ${STAGEDIR}${OCAMLFIND_DESTDIR} .include