1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

Add new port devel/ocaml-ipaddr

A library for manipulation of IP (and MAC) address representations
https://github.com/mirage/ocaml-ipaddr

This module is required to update www/ocsigen
This commit is contained in:
Johan van Selst 2015-05-17 11:07:23 +00:00
parent b64e2f9403
commit f3fdfe311f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386598
4 changed files with 36 additions and 0 deletions

View File

@ -1405,6 +1405,7 @@
SUBDIR += ocaml-equeue
SUBDIR += ocaml-extlib
SUBDIR += ocaml-findlib
SUBDIR += ocaml-ipaddr
SUBDIR += ocaml-lacaml
SUBDIR += ocaml-lwt
SUBDIR += ocaml-magic

View File

@ -0,0 +1,31 @@
# $FreeBSD$
PORTNAME= ipaddr
PORTVERSION= 2.6.1
CATEGORIES= devel
PKGNAMEPREFIX= ocaml-
MAINTAINER= johans@FreeBSD.org
COMMENT= OCaml library for manipulation of IP address representations
BUILD_DEPENDS= ${LOCALBASE}/${OCAML_SITELIBDIR}/sexplib/sexplib.a:${PORTSDIR}/devel/ocaml-sexplib
RUN_DEPENDS= ${LOCALBASE}/${OCAML_SITELIBDIR}/sexplib/sexplib.a:${PORTSDIR}/devel/ocaml-sexplib
USE_GITHUB= yes
GH_ACCOUNT= mirage
GH_PROJECT= ocaml-ipaddr
USES= gmake
HAS_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
USE_OCAML_CAMLP4= yes
USE_OCAMLFIND_PLIST= yes
USE_OCAML_LDCONFIG= yes
do-configure:
cd ${WRKSRC}; ocaml setup.ml -configure ${CONFIGURE_ARGS}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (mirage-ocaml-ipaddr-2.6.1_GH0.tar.gz) = 7051013d8f58abff433187d70cd7ddd7a6b49a6fbe6cad1893f571f65b8ed3d0
SIZE (mirage-ocaml-ipaddr-2.6.1_GH0.tar.gz) = 64458

View File

@ -0,0 +1,2 @@
ocaml-ipaddr
A library for manipulation of IP (and MAC) address representations.