source: trunk/dports/devel/ocaml-pcre/Portfile

Last change on this file was 142698, checked in by landonf@…, 2 years ago

Drop maintainership of (almost) all my ports, as I'm no longer using Mac OS X as my desktop OS.

The dict port here dates back to ~2002; it was the first port used as a test case when we were developing MacPorts.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 142698 2015-11-20 16:55:09Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup           ocaml 1.0
5
6name                ocaml-pcre
7version             7.1.5
8revision            1
9categories          devel ml
10maintainers         nomaintainer
11license             LGPL-2.1
12description         Perl compatibility regular expressions for OCaml
13long_description    This OCaml-library interfaces the PCRE (Perl-compatibility regular \
14                    expressions) library which is written in C. it can be used for matching \
15                    regular expressions which are written in PERL-style. Searching for, replacing \
16                    or splitting text should become much easier with this library.
17
18homepage            http://mmottl.github.io/pcre-ocaml/
19platforms           darwin
20master_sites        https://github.com/mmottl/pcre-ocaml/releases/download/v${version}/
21
22checksums           rmd160  d4e6b89a92753465352f1a42e1ba90dcdca90eff \
23                    sha256  6495ecf25ed6a69fd14fda472f9fac9853dde2aee9944f6b6c0111d458c1039b
24
25distname            pcre-ocaml-${version}
26
27livecheck.type      regex
28livecheck.regex     {>pcre-ocaml-release-(.*)\.tar\.bz2}
29
30depends_lib         port:ocaml port:ocaml-findlib port:pcre
31
32use_oasis           yes
33use_oasis_doc       yes
34
35configure.args-append "--override docdir ${destroot}${prefix}/share/doc/${name}"
36
37post-destroot {
38    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
39    xinstall -m 644 -W ${worksrcpath} AUTHORS.txt CHANGES.txt COPYING.txt INSTALL.txt \
40         ${destroot}${prefix}/share/doc/${name}
41    file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
42}
43
Note: See TracBrowser for help on using the repository browser.