source: trunk/dports/devel/ocaml-ao/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
4
5name                ocaml-ao
6version             0.1.9
7revision            4
8categories          devel ml
9license             LGPL-2.1
10maintainers         rastageeks.org:toots
11description         OCaml bindings for the libao audio output library
12long_description    This port contains an O'Caml interface for the \
13                    cross-platform audio output library, otherwise known as \
14                    libao.
15homepage            http://savonet.sf.net/
16platforms           darwin
17master_sites        sourceforge:savonet
18
19checksums           md5  1ed967e98df567d628d539d1dfb53744 \
20                    sha1  9b5b113449dd7bf027b1078ef9339c376c2f8a1c \
21                    rmd160  7e00cb46fa290050f81fa333d79a7b562c271d48
22
23depends_build port:pkgconfig
24depends_lib   port:libao \
25              port:ocaml \
26              port:ocaml-findlib
27
28configure.pkg_config    ${prefix}/bin/pkg-config
29
30build.args          LIBDIRS=${prefix}/lib
31
32pre-destroot {
33  set ocamlfind_destdir "${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir]"
34  file mkdir $ocamlfind_destdir
35  reinplace "s#\$(OCAMLFIND_INSTFLAGS)# -ldconf ignore -destdir '${ocamlfind_destdir}'#g" ${worksrcpath}/src/OCamlMakefile
36}
Note: See TracBrowser for help on using the repository browser.