source: trunk/dports/devel/ocaml-vorbis/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.2 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                ocaml-vorbis
7version             0.6.1
8revision            3
9categories          devel ml audio
10license             GPL-2
11maintainers         rastageeks.org:toots
12description         OCaml bindings for the vorbis audio library
13long_description    $description
14homepage            http://savonet.sf.net/
15platforms           darwin
16master_sites        sourceforge:savonet
17
18checksums           rmd160  8839597a07c4d8bb3af7803c165fabbfd43df59d \
19                    sha256  9bc313628a269eebb33db531119e90da75f37fe9ceb5a20143fbf6dc9df67782
20
21depends_build       port:pkgconfig
22depends_lib         port:ocaml \
23                    port:ocaml-findlib \
24                    port:ocaml-ogg \
25                    port:libvorbis
26
27configure.pkg_config ${prefix}/bin/pkg-config
28
29configure.env-append OCAMLFIND=${ocamlfind_wrapper} USER=macports
30
31use_parallel_build  no
32build.args          LIBDIRS=${prefix}/lib
33
34pre-destroot {
35  set ocamlfind_destdir "${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir]"
36  file mkdir $ocamlfind_destdir
37  reinplace "s#\$(OCAMLFIND_INSTFLAGS)# -ldconf ignore -destdir '$ocamlfind_destdir'#g" \
38    ${worksrcpath}/src/OCamlMakefile
39}
Note: See TracBrowser for help on using the repository browser.