# $Id: Portfile 59317 2009-10-13 14:00:03Z avsm@macports.org $ PortSystem 1.0 name lablgl version 1.04 revision 1 categories graphics maintainers avsm 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. homepage http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html platforms darwin master_sites http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/ checksums md5 dcf05a0cffffdf06cbe0fe55f9eff974 \ sha1 80e8bf4deaade52372a64fe1e93713b4a49e9171 \ rmd160 d623514e2f1b1b2a1e71323aae4874f2beb3db6d depends_lib port:ocaml build.target lib libopt glut glutopt use_parallel_build no livecheck.type regex livecheck.url http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html livecheck.regex {>lablgl-(.*)\.tar\.gz} 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 }