Port details |
- ocaml-cstruct OCaml library and syntax extension to access C-like structures
- 6.2.0_2 devel =2 6.2.0Version of this port present on the latest quarterly branch.
- Maintainer: freebsd@dev.thsi.be
- Port Added: 2024-05-22 17:18:07
- Last Update: 2024-12-31 07:41:54
- Commit Hash: c79c880
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: ISCL
- WWW:
- https://github.com/mirage/ocaml-cstruct
- Description:
- This library for OCaml contains functionnality to access
datastructures using a determined byte-layouts such as networking
datagrams or binay file formats (e.g.).
A PPX syntax extension is provided to allow the definition of
byte-layouts in the form of "cstruct" type definitions -- looking much
alike the well-known structure declaration of the C programming
language (hence the name of this library) --, and to generate accessor
functions to manipule its members.
In addition to those core features, the library contains accessory
functions allowing:
- The representation of "cstruct" as S-expression;
- I/O operations over the Unix OCaml library and the Lwt cooperative
threading library. The async integration is currently not provided
by this port (patch welcome!).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- ocaml-cstruct>0:devel/ocaml-cstruct
- To install the port:
- cd /usr/ports/devel/ocaml-cstruct/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/ocaml-cstruct
- pkg install ocaml-cstruct
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: ocaml-cstruct
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1710533677
SHA256 (mirage-ocaml-cstruct-v6.2.0_GH0.tar.gz) = 629a4bf17893c48c2f7b951eddc875a61de18bf190bb5a096976837198349cd4
SIZE (mirage-ocaml-cstruct-v6.2.0_GH0.tar.gz) = 244005
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- META : devel/ocaml-fmt
- META : devel/ocaml-lwt
- META : devel/ocaml-ppxlib
- META : devel/ocaml-sexplib
- ocaml-dune>=3.7.1_2 : devel/ocaml-dune
- ocamlc : lang/ocaml
- Runtime dependencies:
-
- META : devel/ocaml-fmt
- META : devel/ocaml-lwt
- META : devel/ocaml-ppxlib
- META : devel/ocaml-sexplib
- ocamlc : lang/ocaml
- Patch dependencies:
-
- ocamlc : lang/ocaml
-
- This port is required by:
- for Build
-
- devel/ocaml-ipaddr
- for Run
-
- devel/ocaml-ipaddr
Configuration Options:
- ===> The following configuration options are available for ocaml-cstruct-6.2.0_2:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- devel_ocaml-cstruct
- USES:
- ocaml:dune,ldconfig
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 4
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
6.2.0_2 31 Dec 2024 07:41:54 |
Muhammad Moinur Rahman (bofh) |
Mk/**ocaml.mk: Convert remaining bsd.ocaml.mk to Uses/ocaml.mk
- Instead of USE_OCAML=yes use USES=ocaml. If empty USES=ocaml implies
build and run
- Instead of USE_OCAMLFIND_PLIST use USES=ocaml:findplist which also
implies USES=ocaml:findlib
- Instead of USE_OCAML_CAMLP4 use USES=ocaml:camlp4
- Instead of USE_OCAML_FINDLIB use USES=ocaml:findlib
- Instead of USE_OCAML_LDCONFIG use USES=ocaml:ldconfig
- Instead of USE_OCAML_WASH use USES=ocaml:wash
- Instead of NO_OCAML_BUILDDEPENDS use USES=ocaml:run
- Instead of NO_OCAML_RUNDDEPENDS use USES=ocaml:build
- Instead of USE_OCAML_TK use USES=ocaml:tk which actually implies
USES=ocaml:tkbuild and USES=ocaml:tkrun
- Instead of NO_OCAMLTK_BUILDDEPENDS use USES=ocaml:tkrun
- Instead of NO_OCAMLTK_RUNDEPENDS use USES=ocaml:tkbuild
- USES=ocaml:dune remains unchanged
- Prepare to add/remove keywords easily
Approved by: mat (portmgr)
Reviewed by: freebsd@dev.thsi.be
Differential Revision: https://reviews.freebsd.org/D48227 |
6.2.0_2 15 Oct 2024 11:17:56 |
Guido Falsi (madpilot) |
devel/ocaml-sexplib0: Bump revisions after dependency update
PR: 282086 |
6.2.0_1 09 Oct 2024 05:28:31 |
Zsolt Udvari (uzsolt) Author: Benjamin Jacobs |
*/*: Bump PORTREVISIONS after ocaml-ppxlib update
Commit ID: 25d9e3539b7ff862de62ea62a5044fc6e5faf953
PR: 279337 |
6.2.0 22 May 2024 17:16:28 |
Guido Falsi (madpilot) Author: Benjamin Jacobs |
ocaml: Updates to ocaml compiler and several ocaml ports
- Update devel/ocaml to 4.14.2 [1]
- Specify runtime dependency on GNU AS as full path, this fixes
build on armv6 - armv7 [1] [2]
- converters/ocaml-base64: Update to 3.5.1, add LICENSE, other
improvements
- converters/ocaml-jsonm: Strip shared objects [3]
- databases/ocaml-dbm: Update to 1.3, move to gitlub, other
improvements
- devel/menhir: Update to 20231231
- devel/ocaml-base: Unbreak non-x86 [2]
- devel/ocaml-camlp-streams: Silence patch and strip commands
- devel/ocaml-ipaddr: Update to 5.5.0
- devel/ocaml-lwt: Update to 5.7.0 [4] (Only the first 15 lines of the commit message are shown above ) |
Number of commits found: 4
|