[88527] trunk/dports/devel

mww at macports.org mww at macports.org
Tue Jan 3 18:00:19 PST 2012


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

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

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

Modified: trunk/dports/devel/caml-json-wheel/Portfile
===================================================================
--- trunk/dports/devel/caml-json-wheel/Portfile	2012-01-04 01:57:58 UTC (rev 88526)
+++ trunk/dports/devel/caml-json-wheel/Portfile	2012-01-04 02:00:18 UTC (rev 88527)
@@ -1,59 +1,11 @@
 # $Id$
 
 PortSystem          1.0
+replaced_by ocaml-json-wheel
+PortGroup obsolete 1.0
 
 name                caml-json-wheel
 version             1.0.6
-revision            1
+revision            2
 categories          devel ml
-maintainers         nomaintainer
-description         JSON parsing library for OCaml
-long_description    Implements RFC4627 for parsing the JSON interchange format.\
-                    Uses key/value pairs to represent objects, and lists to \
-                    represent JSON arrays.  Also provides pretty-print support.
-homepage            http://martin.jambon.free.fr/json-wheel.html
-platforms           darwin
-master_sites        http://martin.jambon.free.fr/
 
-distname            json-wheel-${version}
-use_bzip2           yes
-
-checksums           md5 8685ecee7a7416c77c14fbdf05c5a06e \
-                    sha1 dea8a5b3bd580c39f3cfb3139aeca4fef653aa31 \
-                    rmd160 cd31f74e67c4241dbb3e3b792440d02ea45b739b
-
-depends_lib         port:ocaml \
-                    port:ocaml-findlib \
-                    port:caml-ocamlnet
-
-use_configure       no
-use_parallel_build  no
-destroot.env-append BINDIR=${destroot}${prefix}/bin
-
-livecheck.type      regex
-livecheck.url       http://martin.jambon.free.fr/json-wheel.html
-livecheck.regex     {>json-wheel-(.*)\.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 opt
-
-pre-destroot {
-    set ocaml_site_path [exec ocamlfind printconf destdir]
-    file mkdir ${destroot}${ocaml_site_path}/stublibs
-    destroot.args DESTDIR="${destroot}" OCAMLFIND_DESTDIR="${destroot}${ocaml_site_path}"
-}
-
-pre-activate {
-    # caml-json-wheel 1.0.6_0 installed an item in ${prefix}/bin; remove it if found
-    set filepath ${prefix}/bin/jsoncat
-    if {[file exists ${filepath}]} {
-        if {[catch {delete ${filepath}}]} {
-            ui_warn "Cannot delete ${filepath}; please remove it manually"
-        }
-    }
-}

Modified: trunk/dports/devel/ocaml-json-wheel/Portfile
===================================================================
--- trunk/dports/devel/caml-json-wheel/Portfile	2012-01-03 11:48:48 UTC (rev 88494)
+++ trunk/dports/devel/ocaml-json-wheel/Portfile	2012-01-04 02:00:18 UTC (rev 88527)
@@ -2,7 +2,7 @@
 
 PortSystem          1.0
 
-name                caml-json-wheel
+name                ocaml-json-wheel
 version             1.0.6
 revision            1
 categories          devel ml
@@ -24,7 +24,7 @@
 
 depends_lib         port:ocaml \
                     port:ocaml-findlib \
-                    port:caml-ocamlnet
+                    port:ocaml-ocamlnet
 
 use_configure       no
 use_parallel_build  no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120103/dd84afa5/attachment.html>


More information about the macports-changes mailing list