Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2015 11:07:24 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386598 - in head/devel: . ocaml-ipaddr
Message-ID:  <201505171107.t4HB7Ofr015377@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Sun May 17 11:07:23 2015
New Revision: 386598
URL: https://svnweb.freebsd.org/changeset/ports/386598

Log:
  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

Added:
  head/devel/ocaml-ipaddr/
  head/devel/ocaml-ipaddr/Makefile   (contents, props changed)
  head/devel/ocaml-ipaddr/distinfo   (contents, props changed)
  head/devel/ocaml-ipaddr/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun May 17 11:01:14 2015	(r386597)
+++ head/devel/Makefile	Sun May 17 11:07:23 2015	(r386598)
@@ -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

Added: head/devel/ocaml-ipaddr/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ocaml-ipaddr/Makefile	Sun May 17 11:07:23 2015	(r386598)
@@ -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>

Added: head/devel/ocaml-ipaddr/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ocaml-ipaddr/distinfo	Sun May 17 11:07:23 2015	(r386598)
@@ -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

Added: head/devel/ocaml-ipaddr/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ocaml-ipaddr/pkg-descr	Sun May 17 11:07:23 2015	(r386598)
@@ -0,0 +1,2 @@
+ocaml-ipaddr
+A library for manipulation of IP (and MAC) address representations.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505171107.t4HB7Ofr015377>