source: trunk/dports/devel/ocaml-dbm/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.2 KB
Line 
1# $Id: Portfile 137992 2015-06-24 16:17:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                ocaml-dbm
6version             1.0
7revision            5
8categories          devel ml
9platforms           darwin
10license             LGPL-2
11maintainers         mww openmaintainer
12description         OCaml binding to the GDBM Unix databases
13long_description    ${description}
14homepage            https://forge.ocamlcore.org/projects/camldbm
15master_sites        https://forge.ocamlcore.org/frs/download.php/728/
16distname            camldbm-${version}
17extract.suffix      .tgz
18
19checksums           rmd160  0691f84ac43c97fddaf796c04729baa8bcb280ca \
20                    sha256  19741fa7827c306ae43b18170b01f5547326ec7ea6c2f4bd80c93439b5ff538f
21
22depends_lib         port:ocaml port:gdbm
23
24patchfiles          patch-Makefile.diff
25
26configure {
27    xinstall -m 644 ${filespath}/Makefile.config ${worksrcpath}/Makefile.config
28    reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/Makefile.config
29}
30
31use_parallel_build  no
32
33post-destroot {
34    xinstall -m 644 ${filespath}/META ${destroot}${prefix}/lib/ocaml/site-lib/dbm/
35}
36
37livecheck.type      regex
38livecheck.url       https://forge.ocamlcore.org/frs/?group_id=278
39livecheck.regex     "camldbm-(.*?)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.