PortSystem 1.0 PortGroup github 1.0 github.setup garrigue lablgl 1.06 v revision 0 epoch 1 categories graphics ocaml license BSD Tcl/Tk maintainers {pmetzger @pmetzger} openmaintainer description Objective Caml interface to OpenGL long_description LablGL is is an Objective Caml interface to OpenGL. \ Support is included for use with both \ Glut (standalone) and LablTk.\ LablGTK also includes specific support for LablGL. platforms darwin homepage http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html checksums rmd160 443a372775ea877257863394e19092fe59231ac3 \ sha256 f11c962bc86ff170a61e6947080775906864f6b8695ab4dad8d9955c4d8cdb91 \ size 567343 depends_lib port:ocaml build.target lib libopt glut glutopt use_parallel_build no worksrcdir lablGL # ocaml is not universal universal_variant no configure { copy ${worksrcpath}/Makefile.config.osx ${worksrcpath}/Makefile.config } set stublibsdir ${destroot}${prefix}/lib/ocaml/stublibs/ pre-destroot { file mkdir ${stublibsdir} } destroot.args \ INSTALLDIR=${destroot}${prefix}/lib/ocaml/lablgl \ BINDIR=${destroot}${prefix}/bin \ DLLDIR=${stublibsdir} post-destroot { xinstall -d -m 755 ${destroot}${prefix}/lib/ocaml/site-lib/lablgl xinstall -m 644 ${filespath}/META ${destroot}${prefix}/lib/ocaml/site-lib/lablgl/META }