[88528] trunk/dports/devel

mww at macports.org mww at macports.org
Tue Jan 3 18:01:55 PST 2012


Revision: 88528
          http://trac.macports.org/changeset/88528
Author:   mww at macports.org
Date:     2012-01-03 18:01:55 -0800 (Tue, 03 Jan 2012)
Log Message:
-----------
rename caml-json-static to ocaml-json-static, leave stub;

Modified Paths:
--------------
    trunk/dports/devel/caml-json-static/Portfile
    trunk/dports/devel/ocaml-json-static/Portfile

Added Paths:
-----------
    trunk/dports/devel/ocaml-json-static/

Modified: trunk/dports/devel/caml-json-static/Portfile
===================================================================
--- trunk/dports/devel/caml-json-static/Portfile	2012-01-04 02:00:18 UTC (rev 88527)
+++ trunk/dports/devel/caml-json-static/Portfile	2012-01-04 02:01:55 UTC (rev 88528)
@@ -1,50 +1,11 @@
 # $Id$
 
 PortSystem          1.0
+replaced_by ocaml-json-static
+PortGroup obsolete 1.0
 
 name                caml-json-static
 version             0.9.8
+revision            1
 categories          devel ml
-maintainers         nomaintainer
-description         JSON validator and type converter for OCaml
-long_description    This library converts parsed JSON data with an unchecked structure \
-                    into specialized OCaml types and vice-versa. It is a complement to \
-                    the caml-json-wheel package which provides a parser and pretty-printer.
-homepage            http://martin.jambon.free.fr/json-static.html
-platforms           darwin
-master_sites        http://martin.jambon.free.fr/
 
-distname            json-static-${version}
-use_bzip2           yes
-
-checksums           md5     a8b586a4c7851f5e34c28da60ebf8904 \
-                    sha1    4bbcc49340e1f23af6f59fc41eb687e32de7350a \
-                    rmd160  8f6a9e886ddd5beff91a263b967a3c6ab95d0806
-
-depends_lib         port:ocaml \
-                    port:ocaml-findlib \
-                    port:caml-json-wheel
-
-use_configure       no
-use_parallel_build  no
-
-livecheck.type      regex
-livecheck.url       http://martin.jambon.free.fr/json-static.html
-livecheck.regex     {>json-static-(.*)\.tar\.gz}
-
-post-patch {
-    set ocaml_site_path [exec ocamlfind printconf destdir]
-    reinplace       "s|\$(OCAMLFIND) install|\$(OCAMLFIND) install -destdir ${destroot}/${ocaml_site_path}|g" \
-                    ${worksrcpath}/Makefile
-}
-
-build.target        all
-
-pre-destroot {
-    set ocaml_site_path [exec ocamlfind printconf destdir]
-    file mkdir ${destroot}/${ocaml_site_path}/stublibs
-}
-
-pre-destroot {
-    destroot.args DESTDIR="${destroot}" OCAMLFIND_DESTDIR="${destroot}/[exec ${prefix}/bin/ocamlfind printconf destdir]"
-}

Modified: trunk/dports/devel/ocaml-json-static/Portfile
===================================================================
--- trunk/dports/devel/caml-json-static/Portfile	2012-01-03 11:48:48 UTC (rev 88494)
+++ trunk/dports/devel/ocaml-json-static/Portfile	2012-01-04 02:01:55 UTC (rev 88528)
@@ -2,7 +2,7 @@
 
 PortSystem          1.0
 
-name                caml-json-static
+name                ocaml-json-static
 version             0.9.8
 categories          devel ml
 maintainers         nomaintainer
@@ -23,7 +23,7 @@
 
 depends_lib         port:ocaml \
                     port:ocaml-findlib \
-                    port:caml-json-wheel
+                    port:ocaml-json-wheel
 
 use_configure       no
 use_parallel_build  no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120103/f4bf772c/attachment.html>


More information about the macports-changes mailing list