[67441] trunk/dports/devel

avsm at macports.org avsm at macports.org
Mon May 10 02:28:26 PDT 2010


Revision: 67441
          http://trac.macports.org/changeset/67441
Author:   avsm at macports.org
Date:     2010-05-10 02:28:20 -0700 (Mon, 10 May 2010)
Log Message:
-----------
import new port caml-ulex-1.1

Added Paths:
-----------
    trunk/dports/devel/caml-ulex/
    trunk/dports/devel/caml-ulex/Portfile

Added: trunk/dports/devel/caml-ulex/Portfile
===================================================================
--- trunk/dports/devel/caml-ulex/Portfile	                        (rev 0)
+++ trunk/dports/devel/caml-ulex/Portfile	2010-05-10 09:28:20 UTC (rev 67441)
@@ -0,0 +1,42 @@
+# $Id$
+
+PortSystem          1.0
+name                caml-ulex
+version             1.1
+maintainers         avsm openmaintainer
+description         lexer generator for Unicode and OCaml
+long_description    ulex is a lexer generator for Unicode and OCaml written by Alain Frisch.
+
+categories          devel textproc ml
+
+distname            ulex-${version}
+
+homepage            http://www.cduce.org/download.html
+master_sites        http://www.cduce.org/download/
+
+platforms           darwin
+
+checksums           md5     ce49a013bc4a0e085977a9fe157017bf \
+                    sha1    1637679a2f678d146e6fbf425f947e6dd8dac8a0 \
+                    rmd160  4219fce15e357bf6edaa6efad04902a84082c3b9
+
+depends_lib         port:ocaml \
+                    port:caml-findlib
+
+use_configure       no
+
+post-patch {
+    set ocaml_site_path [exec ${prefix}/bin/ocamlfind printconf destdir]
+
+    reinplace       "s|ocamlfind install|ocamlfind install -ldconf ignore -destdir ${destroot}/${ocaml_site_path}|g" \
+        ${worksrcpath}/Makefile
+}
+
+pre-destroot {
+    set ocaml_site_path [exec ocamlfind printconf destdir]
+    file mkdir ${destroot}/${ocaml_site_path}
+}
+
+
+livecheck.type      regex
+livecheck.regex     {ulex-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100510/e8ae5ad3/attachment.html>


More information about the macports-changes mailing list