source: trunk/dports/databases/ocaml-mysql/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
4PortGroup ocaml 1.0
5
6name                ocaml-mysql
7version             1.0.4
8revision            5
9categories          databases devel ml
10platforms           darwin
11maintainers         mww openmaintainer
12license             LGPL-2.1
13description         Mysql5 bindings for OCaml
14long_description    ${description}
15homepage            http://raevnos.pennmush.org/code/ocaml-mysql/
16master_sites        http://raevnos.pennmush.org/code/ocaml-mysql/
17
18checksums           md5     76f1282bb7299012669bf40cde78216b \
19                    rmd160  57b316fdbdd26762916859d04ab0ca15c1365203 \
20                    sha256  59d11111558986f0ed237016f9758a3cb99e2fdd0ce0dc128319a3ac2a55259e
21
22depends_lib-append  port:mysql5
23depends_build       port:ocaml-findlib
24
25configure.ldflags-append -L${prefix}/lib/mysql5/mysql
26configure.cflags-append -I${prefix}/include/mysql5
27configure.cppflags-append -I${prefix}/include/mysql5
28configure.ld_archflags
29configure.cc_archflags
30
31post-configure {
32   reinplace "s|OCAMLFIND.*:=.*|OCAMLFIND := ${ocamlfind_wrapper}|g" ${worksrcpath}/OCamlMakefile
33}
34
35use_parallel_build  no
36
37build.target        reallyall
38
39post-destroot {
40    system -W ${ocamlfind_destdir}/mysql "echo 'linkopts = \"-ccopt -L${prefix}/lib/mysql5/mysql/ -ccopt -L${prefix}/lib\"' >> META"
41}
42
43livecheck.type      regex
44livecheck.regex     {ocaml-mysql-(.*)\.tar\.gz}
45
Note: See TracBrowser for help on using the repository browser.