You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
ocaml-lacaml: update to 11.1.1
Modernize Portfile to use github and ocaml 1.1 PortGroups, switch to dune build system. Signed-off-by: Paul Guyot <pguyot@kallisys.net>
This commit is contained in:
+18
-25
@@ -1,36 +1,29 @@
|
||||
PortSystem 1.0
|
||||
PortGroup ocaml 1.0
|
||||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
||||
|
||||
PortSystem 1.0
|
||||
PortGroup github 1.0
|
||||
PortGroup ocaml 1.1
|
||||
|
||||
github.setup mmottl lacaml 11.1.1
|
||||
github.tarball_from releases
|
||||
name ocaml-lacaml
|
||||
version 7.0.13
|
||||
revision 1
|
||||
revision 0
|
||||
categories math devel ocaml
|
||||
platforms darwin
|
||||
license LGPL-2.1
|
||||
maintainers nomaintainer
|
||||
description OCaml interfaces to the BLAS- and LAPACK-library
|
||||
long_description ${description}
|
||||
homepage https://bitbucket.org/mmottl/lacaml/
|
||||
master_sites https://bitbucket.org/mmottl/lacaml/downloads/
|
||||
checksums rmd160 264894eea8c16757e53c1173aa600cfcd2c79fdf \
|
||||
sha256 ccef3d0bd1b4607c9cffb84740200efbb9e6a85cff05a6c50e2c8d5176684fd9
|
||||
long_description {*}${description}
|
||||
|
||||
homepage https://mmottl.github.io/lacaml
|
||||
|
||||
distname lacaml-${version}
|
||||
extract.suffix .tbz
|
||||
use_bzip2 yes
|
||||
|
||||
depends_lib port:ocaml port:ocaml-findlib
|
||||
checksums rmd160 b662b5ee12af9ab1d804c2c9ecaf44d1ef8f1dc6 \
|
||||
sha256 344b3b03f95f03ef0013a935f443d6d367b5a6c78313b1e86c6481fd9c0b7287 \
|
||||
size 113337
|
||||
|
||||
use_oasis yes
|
||||
use_oasis_doc yes
|
||||
|
||||
configure.args-append "--destdir ${destroot}"
|
||||
|
||||
platform darwin 13 {
|
||||
post-patch {
|
||||
reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/myocamlbuild.ml
|
||||
}
|
||||
}
|
||||
|
||||
livecheck.type regex
|
||||
livecheck.url ${master_sites}
|
||||
livecheck.regex lacaml-(\[0-9.\]+)${extract.suffix}
|
||||
ocaml.build_type dune
|
||||
|
||||
depends_lib-append port:ocaml-dune-configurator
|
||||
|
||||
Reference in New Issue
Block a user