Changeset 146365


Ignore:
Timestamp:
Mar 6, 2016, 12:50:06 PM (3 years ago)
Author:
takeshi@…
Message:

plplot: add support for OCaml binding

Location:
trunk/dports/science/plplot
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/plplot/Portfile

    r144999 r146365  
    7070                        -DFREETYPE_LIBRARIES=${prefix}/lib/libfreetype.dylib \
    7171                        -DPL_FREETYPE_FONT_PATH=${prefix}/share/fonts/freefont-ttf \
    72                         -DLTDL_INCLUDE_DIR=${prefix}/include \
    73                         -DLTDL_LIBRARY_DIR=${prefix}/lib \
    7472                        -DWITH_FREETYPE=ON \
    7573                        -DQHULL_INCLUDE_DIR=${prefix}/include \
     
    212210}
    213211
     212variant ocaml description {Add support for OCaml} {
     213    patchfiles-append       patch-bindings-ocaml-plplot_core.idl.diff \
     214                            patch-bindings-ocaml-CMakeLists.txt.diff
     215    depends_lib-append      port:ocaml \
     216                            port:swig-ocaml
     217    configure.args-delete   -DENABLE_ocaml=OFF
     218    configure.args-append   -DENABLE_ocaml=ON
     219}
     220
    214221variant python26 conflicts python27 description {Add support for python26} {
    215222    depends_lib-append      port:python26 \
Note: See TracChangeset for help on using the changeset viewer.