source: trunk/dports/devel/ocaml-text/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.4 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-text
7version             0.6
8revision            5
9categories          devel ml
10license             BSD
11platforms           darwin
12maintainers         mww openmaintainer
13description         library for Unicode text in OCaml
14long_description    OCaml-Text is a library for dealing with text, \
15                    i.e. sequence of unicode characters, in a convenient way.
16homepage            http://forge.ocamlcore.org/projects/ocaml-text/
17master_sites        http://forge.ocamlcore.org/frs/download.php/937/
18
19depends_build       port:ocaml-camlp4
20depends_lib         port:ocaml port:ocaml-findlib port:ocaml-pcre port:libiconv
21
22checksums           rmd160  3044869456e099d755ace144266eed7aaeda4f22 \
23                    sha256  cfd4d224ec0b776ce462c5ba5cb6e4eae8cf397ede6d3b91add44a05a6520f49
24
25patchfiles          patch-setup.ml.diff
26post-patch {
27    reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/setup.ml
28}
29
30use_oasis           yes
31use_oasis_doc       yes
32
33configure.args-append --override pcre true --override datarootdir ${destroot}${prefix}/share
34
35livecheck.type      regex
36livecheck.url       http://forge.ocamlcore.org/frs/?group_id=100
37livecheck.regex     {>ocaml-text-(.*)\.tar\.gz}
38
39pre-activate {
40    if { [file exists ${prefix}/share/doc/ocaml-text] } {
41        delete ${prefix}/share/doc/ocaml-text
42    }
43}
44
Note: See TracBrowser for help on using the repository browser.