[79237] trunk/dports/devel
jmr at macports.org
jmr at macports.org
Sun Jun 5 21:06:26 PDT 2011
Revision: 79237
http://trac.macports.org/changeset/79237
Author: jmr at macports.org
Date: 2011-06-05 21:06:24 -0700 (Sun, 05 Jun 2011)
Log Message:
-----------
New port: ocaml-soundtouch, OCaml bindings for the soundtouch library (#16188)
Added Paths:
-----------
trunk/dports/devel/ocaml-soundtouch/
trunk/dports/devel/ocaml-soundtouch/Portfile
trunk/dports/devel/ocaml-soundtouch/files/
trunk/dports/devel/ocaml-soundtouch/files/configure.diff
Added: trunk/dports/devel/ocaml-soundtouch/Portfile
===================================================================
--- trunk/dports/devel/ocaml-soundtouch/Portfile (rev 0)
+++ trunk/dports/devel/ocaml-soundtouch/Portfile 2011-06-06 04:06:24 UTC (rev 79237)
@@ -0,0 +1,39 @@
+# $Id$
+
+PortSystem 1.0
+
+name ocaml-soundtouch
+version 0.1.4
+categories devel ml audio multimedia
+maintainers rastageeks.org:toots
+description OCaml bindings for the soundtouch library
+long_description This port contains an O'Caml interface for sound \
+ stretching library, otherwise known as libsoundtouch.
+homepage http://savonet.sf.net/
+platforms darwin
+master_sites sourceforge:savonet
+
+checksums md5 b4ee834b79f1d7a2b452fd55f093cf70 \
+ sha1 186dbad0444835a1d3f0db0c00997773a9a3bad5 \
+ rmd160 583c5bdd2e1fbb3dbc60c183e622516bc9d74a79
+
+depends_build port:pkgconfig
+depends_lib port:ocaml \
+ port:caml-findlib \
+ port:soundtouch
+
+patchfiles configure.diff
+
+build.args LIBDIRS=${prefix}/lib
+
+post-configure {
+ reinplace "s#ACLIBS = #ACLIBS = -lstdc++ #" ${worksrcpath}/src/Makefile
+ reinplace "s#-lBPM##" ${worksrcpath}/src/Makefile
+}
+
+pre-destroot {
+ set ocamlfind_destdir "${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir]"
+ file mkdir $ocamlfind_destdir
+ reinplace "s#\$(OCAMLFIND_INSTFLAGS)# -ldconf ignore -destdir '$ocamlfind_destdir'#g" \
+ ${worksrcpath}/src/OCamlMakefile
+}
Property changes on: trunk/dports/devel/ocaml-soundtouch/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/devel/ocaml-soundtouch/files/configure.diff
===================================================================
--- trunk/dports/devel/ocaml-soundtouch/files/configure.diff (rev 0)
+++ trunk/dports/devel/ocaml-soundtouch/files/configure.diff 2011-06-06 04:06:24 UTC (rev 79237)
@@ -0,0 +1,11 @@
+--- configure.orig 2008-05-07 01:59:49.000000000 +1000
++++ configure 2011-06-06 13:54:59.000000000 +1000
+@@ -3101,7 +3101,7 @@
+ fi
+ #PKG_CHECK_MODULES(SOUNDTOUCH,libSoundTouch,,[AC_MSG_ERROR(libsoundtouch not found.)])
+ # PKG_CHECK_MODULES loses when you need --libs-only-[lL]
+-SOUNDTOUCH_PKG="soundtouch-1.0"
++SOUNDTOUCH_PKG="soundtouch-1.4"
+ if ! $PKG_CONFIG --exists $SOUNDTOUCH_PKG; then
+ if ! $PKG_CONFIG --exists libSoundTouch; then
+ { { echo "$as_me:$LINENO: error: soundtouch not found" >&5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110605/1c1497ff/attachment.html>
More information about the macports-changes
mailing list