[69674] trunk/dports/devel/xml-light

mww at macports.org mww at macports.org
Tue Jul 13 04:54:50 PDT 2010


Revision: 69674
          http://trac.macports.org/changeset/69674
Author:   mww at macports.org
Date:     2010-07-13 04:54:49 -0700 (Tue, 13 Jul 2010)
Log Message:
-----------
put files into site-lib directory, not in top-level; add META file so that ocamlfind works for this lib; increase revision;

Modified Paths:
--------------
    trunk/dports/devel/xml-light/Portfile

Added Paths:
-----------
    trunk/dports/devel/xml-light/files/
    trunk/dports/devel/xml-light/files/META

Modified: trunk/dports/devel/xml-light/Portfile
===================================================================
--- trunk/dports/devel/xml-light/Portfile	2010-07-13 11:05:41 UTC (rev 69673)
+++ trunk/dports/devel/xml-light/Portfile	2010-07-13 11:54:49 UTC (rev 69674)
@@ -1,8 +1,10 @@
 # $Id$
 
 PortSystem          1.0
+
 name                xml-light
 version             2.2
+revision            1
 categories          devel textproc
 maintainers         recoil.org:anil
 description         Objective Caml interface for XML parsing and printing
@@ -10,7 +12,7 @@
                     It provide functions to parse an XML document into an OCaml \
                     data structure, work with it, and print it back to an XML \
                     document.
-homepage            http://tech.motion-twin.com/xmllight/
+homepage            http://tech.motion-twin.com/xmllight
 use_configure       no
 platforms           darwin
 master_sites        http://tech.motion-twin.com/zip/
@@ -19,12 +21,13 @@
 use_parallel_build  no
 build.target        all opt
 checksums           md5 7658985cfdaeeb94b579b932eeaa3e00
-depends_lib         bin:camlp4:ocaml
-set instdir         ${destroot}${prefix}/lib/ocaml/
+depends_lib         port:ocaml
+set instdir         ${destroot}${prefix}/lib/ocaml/site-lib/xml-light
 destroot.args       INSTALLDIR=${instdir}
 pre-destroot {
         file mkdir ${instdir}
 }
 post-destroot {
         system "ranlib ${instdir}/xml-light.a"
+	xinstall -m 644 ${filespath}/META ${instdir}/
 }

Added: trunk/dports/devel/xml-light/files/META
===================================================================
--- trunk/dports/devel/xml-light/files/META	                        (rev 0)
+++ trunk/dports/devel/xml-light/files/META	2010-07-13 11:54:49 UTC (rev 69674)
@@ -0,0 +1,3 @@
+version="2.2"
+archive(byte)="xml-light.cma"
+archive(native)="xml-light.cmxa"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100713/d7cb785e/attachment.html>


More information about the macports-changes mailing list