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