[59314] trunk/dports/graphics/lablgl
avsm at macports.org
avsm at macports.org
Tue Oct 13 06:42:29 PDT 2009
Revision: 59314
http://trac.macports.org/changeset/59314
Author: avsm at macports.org
Date: 2009-10-13 06:42:26 -0700 (Tue, 13 Oct 2009)
Log Message:
-----------
make lablgl ocamlfind-compatible, and add in a livecheck
Modified Paths:
--------------
trunk/dports/graphics/lablgl/Portfile
Added Paths:
-----------
trunk/dports/graphics/lablgl/files/
trunk/dports/graphics/lablgl/files/META
Modified: trunk/dports/graphics/lablgl/Portfile
===================================================================
--- trunk/dports/graphics/lablgl/Portfile 2009-10-13 13:32:13 UTC (rev 59313)
+++ trunk/dports/graphics/lablgl/Portfile 2009-10-13 13:42:26 UTC (rev 59314)
@@ -1,36 +1,43 @@
# $Id$
-PortSystem 1.0
-name lablgl
-version 1.04
-categories graphics
-maintainers recoil.org:anil
-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
+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
+ copy ${worksrcpath}/Makefile.config.osx ${worksrcpath}/Makefile.config
}
-set stublibsdir ${destroot}${prefix}/lib/ocaml/stublibs/
+set stublibsdir ${destroot}${prefix}/lib/ocaml/stublibs/
pre-destroot {
- file mkdir ${stublibsdir}
+ file mkdir ${stublibsdir}
}
destroot.args \
- INSTALLDIR=${destroot}${prefix}/lib/ocaml/lablgl \
- BINDIR=${destroot}${prefix}/bin \
- DLLDIR=${stublibsdir}
+ INSTALLDIR=${destroot}${prefix}/lib/ocaml/lablgl \
+ BINDIR=${destroot}${prefix}/bin \
+ DLLDIR=${stublibsdir}
-build.target lib libopt glut glutopt
-
-use_parallel_build no
-
+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
+}
Added: trunk/dports/graphics/lablgl/files/META
===================================================================
--- trunk/dports/graphics/lablgl/files/META (rev 0)
+++ trunk/dports/graphics/lablgl/files/META 2009-10-13 13:42:26 UTC (rev 59314)
@@ -0,0 +1,20 @@
+description = "Bindings for OpenGL graphics engines"
+version = "1.04"
+archive(byte) = "lablgl.cma"
+archive(native) = "lablgl.cmxa"
+
+package "togl" (
+ description = "OpenGL widget for labltk"
+ version = "1.04"
+ requires = "lablGL, labltk"
+ archive(byte) = "togl.cma"
+ archive(native) = "togl.cmxa"
+)
+
+package "glut" (
+ description = "Platform-independent OpenGL window"
+ version = "1.04"
+ requires = "lablGL"
+ archive(byte) = "lablglut.cma"
+ archive(native) = "lablglut.cmxa"
+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091013/e71f10b7/attachment-0001.html>
More information about the macports-changes
mailing list