Revision: 37283 http://trac.macosforge.org/projects/macports/changeset/37283 Author: nox@macports.org Date: 2008-06-02 03:24:12 -0700 (Mon, 02 Jun 2008) Log Message: ----------- bitmatch: New port. Added Paths: ----------- trunk/dports/devel/bitmatch/ trunk/dports/devel/bitmatch/Portfile trunk/dports/devel/bitmatch/files/ trunk/dports/devel/bitmatch/files/patch-Makefile.in-DESTDIR.diff Added: trunk/dports/devel/bitmatch/Portfile =================================================================== --- trunk/dports/devel/bitmatch/Portfile (rev 0) +++ trunk/dports/devel/bitmatch/Portfile 2008-06-02 10:24:12 UTC (rev 37283) @@ -0,0 +1,35 @@ +# $Id$ + +PortSystem 1.0 + +name bitmatch +version 1.3 +platforms macosx +categories devel caml +maintainers nox openmaintainer +description Bitmatch adds Erlang-style bitstrings and matching over bitstrings as a syntax extension and library for OCaml. + +long_description \ + $description + +homepage http://code.google.com/p/bitmatch/ +master_sites googlecode +distname ocaml-$name-$version + +checksums md5 ac577325e7577fe9fe981e54f1747a94 \ + sha1 2f6f30f88e49eb821fe3412a3d264d8e597f99c6 \ + rmd160 d9c13629dfb905638120a5d3bf46651286cff53b + +patchfiles patch-Makefile.in-DESTDIR.diff + +depends_build port:caml-findlib +depends_lib port:ocaml +depends_run port:caml-findlib + +use_parallel_build no + +test.run yes + +pre-destroot { + file mkdir ${destroot}${prefix}/lib/ocaml/site-lib +} Property changes on: trunk/dports/devel/bitmatch/Portfile ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native Added: trunk/dports/devel/bitmatch/files/patch-Makefile.in-DESTDIR.diff =================================================================== --- trunk/dports/devel/bitmatch/files/patch-Makefile.in-DESTDIR.diff (rev 0) +++ trunk/dports/devel/bitmatch/files/patch-Makefile.in-DESTDIR.diff 2008-06-02 10:24:12 UTC (rev 37283) @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2008-06-02 12:14:00.000000000 +0200 ++++ Makefile.in 2008-06-02 12:14:18.000000000 +0200 +@@ -110,7 +110,7 @@ + # Install. + + install: +- ocamlfind install bitmatch META *.mli *.cmx *.cma *.cmxa *.a \ ++ ocamlfind install -destdir $(DESTDIR)@prefix@@libdir@/ocaml/site-lib bitmatch META *.mli *.cmx *.cma *.cmxa *.a \ + bitmatch.cmi \ + pa_bitmatch.cmo +