source: trunk/dports/devel/ocaml-xmlm/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.7 KB
Line 
1# $Id: Portfile 137992 2015-06-24 16:17:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           ocaml 1.0
5
6name                ocaml-xmlm
7version             1.1.1
8revision            3
9categories          devel ml textproc
10maintainers         mww openmaintainer
11platforms           darwin
12license             BSD
13description         streaming XML input/output module for OCaml
14long_description    Xmlm is an OCaml module providing streaming XML \
15                    input/output. It aims at making XML processing robust and \
16                    painless. The streaming interface can process documents \
17                    without building an in-memory representation. It lets the \
18                    programmer translate its data structures to XML documents \
19                    and vice-versa. Functions are provided to easily transform \
20                    arborescent data structures to/from XML documents.
21
22homepage            http://erratique.ch/software/xmlm
23master_sites        http://erratique.ch/software/xmlm/releases/
24
25distname            xmlm-${version}
26use_bzip2           yes
27extract.suffix      .tbz
28
29checksums           rmd160  e0ba666e1186a0ba6fe42b284282a48a651d2399 \
30                    sha256  465630953ad80747250da53240b37c55f67991fdc83f28614ea76104d426aa26
31
32depends_lib         port:ocaml \
33                    port:ocaml-findlib
34
35use_oasis           yes
36configure.args      --destdir ${destroot}
37
38post-destroot {
39    xinstall -m 755 -d ${destroot}${prefix}/share/doc
40    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
41    xinstall -m 644 -W ${worksrcpath} CHANGES README \
42        ${destroot}${prefix}/share/doc/${name}
43}
44
45livecheck.type      regex
46livecheck.regex     xmlm-(\[0-9\.]+).tbz
Note: See TracBrowser for help on using the repository browser.