[95172] trunk/dports/devel
mww at macports.org
mww at macports.org
Fri Jul 6 06:20:59 PDT 2012
Revision: 95172
https://trac.macports.org/changeset/95172
Author: mww at macports.org
Date: 2012-07-06 06:20:59 -0700 (Fri, 06 Jul 2012)
Log Message:
-----------
ocaml-ospec: new port
Added Paths:
-----------
trunk/dports/devel/ocaml-ospec/
trunk/dports/devel/ocaml-ospec/Portfile
trunk/dports/devel/ocaml-ospec/files/
trunk/dports/devel/ocaml-ospec/files/patch-Makefile.diff
Added: trunk/dports/devel/ocaml-ospec/Portfile
===================================================================
--- trunk/dports/devel/ocaml-ospec/Portfile (rev 0)
+++ trunk/dports/devel/ocaml-ospec/Portfile 2012-07-06 13:20:59 UTC (rev 95172)
@@ -0,0 +1,36 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup ocaml 1.0
+
+name ocaml-ospec
+version 0.2.1
+categories devel ml
+platforms darwin
+license BSD
+maintainers mww openmaintainer
+description Behavior-Driven Development tool for OCaml
+long_description \
+ OSpec is a Behavior-Driven Development tool for OCaml, inspired by RSpec, \
+ a Ruby BDD library. It is implemented as a Camlp4 syntax extension.
+
+homepage http://forge.ocamlcore.org/projects/ospec/
+master_sites http://forge.ocamlcore.org/frs/download.php/831/
+distname ospec-${version}
+checksums rmd160 6282a2e1d09b1f6687c15c83a7d8acbc30575cb2 \
+ sha256 78b27389b21553aab9c37f0d9db97e6364991e8d5c8ca9fdf295318fde31eb40
+
+depends_lib port:ocaml port:ocaml-findlib
+
+patchfiles patch-Makefile.diff
+
+use_oasis yes
+
+destroot {
+ system "cd ${worksrcpath} && make install DESTDIR=${destroot} PREFIX=${prefix}"
+}
+
+livecheck.type regex
+livecheck.url http://forge.ocamlcore.org/frs/?group_id=92
+livecheck.regex ospec-(\[0-9.\]+)${extract.suffix}
+
Property changes on: trunk/dports/devel/ocaml-ospec/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/devel/ocaml-ospec/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/ocaml-ospec/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/devel/ocaml-ospec/files/patch-Makefile.diff 2012-07-06 13:20:59 UTC (rev 95172)
@@ -0,0 +1,16 @@
+--- work/ospec-0.2.1/Makefile 2012-03-20 14:44:04.000000000 +0100
++++ Makefile 2012-07-06 15:16:36.000000000 +0200
+@@ -1,10 +1,11 @@
+ install:
+- ocamlfind install ospec src/META _build/src/pa_spec.cmo \
++ ocamlfind install -destdir $(DESTDIR)$(PREFIX)/lib/ocaml/site-lib -ldconf ignore \
++ ospec src/META _build/src/pa_spec.cmo \
+ _build/src/pa_spec.cmi _build/src/spec.cmo _build/src/spec.cmi \
+ _build/src/helpers.cmo _build/src/helpers.cmi _build/src/report.cmo \
+ _build/src/report.cmi _build/src/gen.cmo _build/src/gen.cmi \
+ _build/src/prop.cmo _build/src/prop.cmi
+- install -m 755 _build/src/ospec $(EXEC_PREFIX)/bin
++ install -m 755 _build/src/ospec $(DESTDIR)$(PREFIX)/bin
+
+ uninstall:
+ ocamlfind remove ospec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120706/6e9900b7/attachment.html>
More information about the macports-changes
mailing list