source: trunk/dports/devel/xml-light/Portfile

Last change on this file was 137992, checked in by mww@…, 2 years ago

inc. revision to rebuild library dependents of ocaml (ocaml update to version 4.02.2)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 137992 2015-06-24 16:17:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                xml-light
6version             2.2
7revision            6
8categories          devel textproc
9license             LGPL
10maintainers         nomaintainer
11description         Objective Caml interface for XML parsing and printing
12long_description    XML Light is a minimal XML parser & printer for OCaml.\
13                    It provide functions to parse an XML document into an OCaml \
14                    data structure, work with it, and print it back to an XML \
15                    document.
16homepage            http://tech.motion-twin.com/xmllight
17use_configure       no
18platforms           darwin
19master_sites        http://tech.motion-twin.com/zip/
20use_zip             yes
21worksrcdir          ${name}
22use_parallel_build  no
23build.target        all opt
24checksums           rmd160  5a6158698110f706ecfeca0d5799eea2c155f974 \
25                    sha256  fdb205e8b3a25922e46fca52aea449b9a2de4000c5442487e7e74d79f1e2274a
26depends_lib         port:ocaml
27
28patchfiles          patch-dtd.ml.diff
29
30set instdir         ${destroot}${prefix}/lib/ocaml/site-lib/xml-light
31destroot.args       INSTALLDIR=${instdir}
32pre-destroot {
33        file mkdir ${instdir}
34}
35post-destroot {
36        system "ranlib ${instdir}/xml-light.a"
37        xinstall -m 644 ${filespath}/META ${instdir}/
38}
Note: See TracBrowser for help on using the repository browser.