source: trunk/dports/devel/ocamlsdl/Portfile

Last change on this file was 137992, checked in by mww@…, 2 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.3 KB
Line 
1# $Id: Portfile 137992 2015-06-24 16:17:51Z ryandesign@macports.org $
2
3PortSystem        1.0
4PortGroup           ocaml 1.0
5
6name              ocamlsdl
7version           0.9.1
8revision          5
9categories        devel multimedia
10license           LGPL
11maintainers       mww openmaintainer
12description       OCaml bindings for SDL
13long_description  \
14    SDL (Simple DirectMedia Layer) is a generic API that provides low level access to audio, keyboard, mouse, and display\
15    framebuffer across multiple platforms. OCamlSDL is an OCaml interface to the SDL and might be used to write multimedia\
16    applications in Objective Caml.
17homepage          http://ocamlsdl.sourceforge.net/
18platforms         darwin
19master_sites      sourceforge:project/${name}/OCamlSDL/${name}-${version}
20checksums           rmd160  9ed03415db7dabe652efa78e80ddfae221f09d20 \
21                    sha256  abfb295b263dc11e97fffdd88ea1a28b46df8cc2b196777093e4fe7f509e4f8f
22
23depends_lib       port:libsdl_image port:libsdl_mixer port:libsdl_ttf port:ocaml port:lablgl port:ocaml-findlib
24
25configure.args    --disable-sdltest
26configure.env       OCAMLFIND=${ocamlfind_wrapper}
27
28post-configure {
29    reinplace "s|-Wl,-framework,Cocoa|-framework Cocoa|g" ${worksrcpath}/makefile.config.gcc
30}
31
32pre-destroot {
33    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
34    file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name}
35}
Note: See TracBrowser for help on using the repository browser.