source: trunk/dports/devel/ocaml-faac/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-faac
6version             0.1.1
7revision            4
8categories          devel ml audio
9license             LGPL-2.1
10maintainers         rastageeks.org:toots
11description         OCaml bindings for the AAC encoding library
12long_description    This port contains an O'Caml interface for the AAC audio \
13                    encoder, otherwise known as libfaac.
14homepage            http://savonet.sf.net/
15platforms           darwin
16master_sites        sourceforge:savonet
17
18checksums           md5  77ca55b93a90bf672e7a41b50a679f0d \
19                    sha1  9d7c17fdd5a186439eef91166a690776fc063192 \
20                    rmd160  7a5c426d50ae952c3e35522506ab632e7a57f026
21
22depends_build       port:pkgconfig
23depends_lib         port:ocaml \
24                    port:ocaml-findlib \
25                    port:faac
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.