source: trunk/dports/graphics/lablgl/Portfile

Last change on this file was 147869, checked in by mcalhoun@…, 19 months ago

lablgl: disallow universal since ocaml is not universal

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 147869 2016-04-19 17:49:26Z ryandesign@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_build       port:ocaml-camlp4
22depends_lib         port:ocaml
23build.target        lib libopt glut glutopt
24use_parallel_build  no
25worksrcdir          lablGL
26
27livecheck.type      regex
28livecheck.url       http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html
29livecheck.regex     {>lablgl-(.*)\.tar\.gz}
30
31# ocaml is not universal
32universal_variant no
33
34configure {
35    copy ${worksrcpath}/Makefile.config.osx ${worksrcpath}/Makefile.config
36}
37
38set stublibsdir        ${destroot}${prefix}/lib/ocaml/stublibs/
39pre-destroot {
40    file mkdir ${stublibsdir}
41}
42destroot.args \
43    INSTALLDIR=${destroot}${prefix}/lib/ocaml/lablgl \
44    BINDIR=${destroot}${prefix}/bin \
45    DLLDIR=${stublibsdir}
46
47post-destroot {
48        xinstall -d -m 755 ${destroot}${prefix}/lib/ocaml/site-lib/lablgl
49        xinstall -m 644 ${filespath}/META ${destroot}${prefix}/lib/ocaml/site-lib/lablgl/META
50}
Note: See TracBrowser for help on using the repository browser.