freebsd-ports/devel/ocaml-ocplib-endian/Makefile
Benjamin Jacobs d9c44a62ac math/alt-ergo: Update to 2.5.4, many new ports
Replace GNU configure to dune builds system.
Add do-test target.
Submitter takes maintainership.
Update WWW.
Switch to DISTVERSION.

The last update of alt-ergo in ports tree was about 10 years ago, the newest
version requires many new libraries in ports tree.
New ports:
  devel/ocaml-dolmen
  devel/ocaml-gen
  devel/ocaml-hmap
  devel/ocaml-linol
  devel/ocaml-lsp
  devel/ocaml-octavius
  devel/ocaml-pp_loc
  devel/ocaml-ppx_blob
  devel/ocaml-ppx_compare
  devel/ocaml-ppx_deriving
  devel/ocaml-ppx_hash
  devel/ocaml-ppx_js_style
  devel/ocaml-ppx_yojson_conv
  devel/ocaml-ppx_yojson_conv_lib
  devel/ocaml-psmt2-frontend
  devel/ocaml-trace
  math/ocaml-farith
  math/ocaml-ocplib-simplex
  textproc/ocaml-spelll

PR:		279337
2024-10-08 14:56:48 +02:00

34 lines
853 B
Makefile

PORTNAME= ocplib-endian
PORTVERSION= 1.2
CATEGORIES= devel
PKGNAMEPREFIX= ocaml-
MAINTAINER= freebsd@dev.thsi.be
COMMENT= Optimized manipulation of integers over the standard byte-array types of OCaml
WWW= https://github.com/OCamlPro/ocplib-endian
LICENSE= LGPL21+ # with a special exception to clause 6
BUILD_DEPENDS= cppo:devel/ocaml-cppo
USES= ocaml:dune
USE_GITHUB= yes
GH_ACCOUNT= OCamlPro
USE_OCAML= yes
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
PORTDOCS= CHANGES.md README.md
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} \
-e "s/(name ${PORTNAME})/&\n (version ${PORTVERSION})/" \
${WRKSRC}/dune-project
post-install:
@${STRIP_CMD} \
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/bigstring/ocplib_endian_bigstring.cmxs \
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/ocplib_endian.cmxs
.include <bsd.port.mk>