source: trunk/dports/devel/ocaml-mad/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.1 KB
Line 
1# $Id: Portfile 137992 2015-06-24 16:17:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                ocaml-mad
6version             0.3.4
7revision            4
8categories          devel ml audio
9license             GPL-2
10maintainers         rastageeks.org:toots
11description         OCaml bindings for libmad MPEG audio decoding library
12long_description    $description
13homepage            http://savonet.sf.net/
14platforms           darwin
15master_sites        sourceforge:savonet
16
17checksums           md5  b3f638b6894a1d606d9972e1c5f92fac \
18                    sha1  090d71e8551572ce2562bac86e3efd8b79f42355 \
19                    rmd160 75bf5b5946c29a5cb7e9689be4ef5fa00e66e9b7
20
21depends_build       port:pkgconfig
22depends_lib         port:ocaml \
23                    port:ocaml-findlib \
24                    port:libmad
25
26configure.pkg_config    ${prefix}/bin/pkg-config
27
28build.args          LIBDIRS=${prefix}/lib
29
30pre-destroot {
31  set ocamlfind_destdir "${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir]"
32  file mkdir $ocamlfind_destdir
33  reinplace "s#\$(OCAMLFIND_INSTFLAGS)# -ldconf ignore -destdir '$ocamlfind_destdir'#g" \
34    ${worksrcpath}/src/OCamlMakefile
35}
Note: See TracBrowser for help on using the repository browser.