# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 github.setup coccinelle coccinelle 1.1.1 github.tarball_from archive revision 0 license GPL-2 maintainers nomaintainer categories devel textproc ocaml description ${name} is a semantic diff. long_description ${name} is a program matching and transformation engine which\ provides the language SmPL (Semantic Patch Language) for\ specifying desired matches and transformations in C code. use_autoreconf yes autoreconf.cmd ./autogen depends_build-append \ port:autoconf \ port:automake \ port:libtool depends_lib-append port:ocaml \ port:ocaml-findlib \ port:ocaml-menhir \ port:ocaml-parmap checksums rmd160 9d97ce727a60f89e48bb63d57352e331edd8fe8f \ sha256 095919e129ac563586d880ebbc5aac829fec224177090aebe34dc34ed5f142bf \ size 2743457 configure.args-append \ --disable-dependency-tracking \ --disable-silent-rules \ --enable-dynlink \ --enable-ocaml \ --enable-opt \ --disable-pcre \ --disable-python \ --with-menhir=${prefix}/bin/menhir \ --libdir=${prefix}/lib # --libdir will be redundant upon next update, see: # https://github.com/coccinelle/coccinelle/issues/263 use_parallel_build no variant python310 conflicts description {Build with python 3.10 support} { set mypydir ${frameworks_dir}/Python.framework/Versions/3.10 configure.args-replace --disable-python --enable-python configure.args-append --with-python=${mypydir}/bin/python3 depends_lib-append port:python310 } variant pcre description {Enable PCRE support} { configure.args-replace --disable-pcre --enable-pcre depends_lib-append port:ocaml-pcre }