source: trunk/dports/graphics/lablgl/Portfile @ 137992

Last change on this file since 137992 was 137992, checked in by mww@…, 4 years ago

inc. revision to rebuild library dependents of ocaml (ocaml update to version 4.02.2)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 137992 2015-06-24 16:17:51Z mww@macports.org $
2
3PortSystem          1.0
4
5name                lablgl
6version             20120306
7revision            4
8categories          graphics
9license             BSD Tcl/Tk
10maintainers         nomaintainer
11description         Objective Caml interface to OpenGL
12long_description    LablGL is is an Objective Caml interface to OpenGL. \
13                    Support is included for use with both Glut (standalone) and LablTk.\
14                    LablGTK also includes specific support for LablGL.
15homepage            http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html
16platforms           darwin
17master_sites        http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
18checksums           md5     c850c8500837165adfa98535ad33f770 \
19                    sha1    996f0aba788f5fa1531587fb06d667b94237cc92 \
20                    rmd160  1b596ca0b970b1b2f36179502a48db2251a80574
21depends_lib         port:ocaml
22build.target        lib libopt glut glutopt
23use_parallel_build  no
24worksrcdir          lablGL
25
26livecheck.type      regex
27livecheck.url       http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html
28livecheck.regex     {>lablgl-(.*)\.tar\.gz}
29
30configure {
31    copy ${worksrcpath}/Makefile.config.osx ${worksrcpath}/Makefile.config
32}
33
34set stublibsdir        ${destroot}${prefix}/lib/ocaml/stublibs/
35pre-destroot {
36    file mkdir ${stublibsdir}
37}
38destroot.args \
39    INSTALLDIR=${destroot}${prefix}/lib/ocaml/lablgl \
40    BINDIR=${destroot}${prefix}/bin \
41    DLLDIR=${stublibsdir}
42
43post-destroot {
44        xinstall -d -m 755 ${destroot}${prefix}/lib/ocaml/site-lib/lablgl
45        xinstall -m 644 ${filespath}/META ${destroot}${prefix}/lib/ocaml/site-lib/lablgl/META
46}
Note: See TracBrowser for help on using the repository browser.