source: trunk/dports/devel/ocaml-soundtouch/Portfile

Last change on this file was 147058, checked in by devans@…, 20 months ago

dependents of soundtouch: increment revision to rebuild with version 1.9.2.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 147058 2016-03-24 17:07:47Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                ocaml-soundtouch
6version             0.1.7
7revision            5
8categories          devel ml audio multimedia
9license             LGPL-2.1
10maintainers         rastageeks.org:toots
11description         OCaml bindings for the soundtouch library
12long_description    This port contains an O'Caml interface for sound \
13                    stretching library, otherwise known as libsoundtouch.
14homepage            http://savonet.sf.net/
15platforms           darwin
16master_sites        sourceforge:savonet
17
18checksums           rmd160  dbd84b9f0e7db058027a94a4db77b70b124d9335 \
19                    sha256  be4d6c3ec944d23def1f08f61f20e466e107f9adf34e6b956651842c70ebd73c
20
21depends_build       port:pkgconfig
22depends_lib         port:ocaml \
23                    port:ocaml-findlib \
24                    port:soundtouch
25
26build.args          LIBDIRS=${prefix}/lib
27
28post-configure {
29  reinplace "s#ACLIBS = #ACLIBS = -lstdc++ #" ${worksrcpath}/src/Makefile
30  reinplace "s#-lBPM##" ${worksrcpath}/src/Makefile
31}
32
33pre-destroot {
34  set ocamlfind_destdir "${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir]"
35  file mkdir $ocamlfind_destdir
36  reinplace "s#\$(OCAMLFIND_INSTFLAGS)# -ldconf ignore -destdir '$ocamlfind_destdir'#g" \
37    ${worksrcpath}/src/OCamlMakefile
38}
Note: See TracBrowser for help on using the repository browser.