source: trunk/dports/devel/ocaml-mad/Portfile @ 137992

Last change on this file since 137992 was 137992, checked in by mww@…, 4 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
RevLine 
[79028]1# $Id: Portfile 137992 2015-06-24 16:17:51Z mww@macports.org $
2
3PortSystem          1.0
4
5name                ocaml-mad
6version             0.3.4
[137992]7revision            4
[79028]8categories          devel ml audio
[94927]9license             GPL-2
[79028]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 \
[88485]23                    port:ocaml-findlib \
[79028]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.