diff options
author | jaapb <jaapb@pkgsrc.org> | 2014-11-19 12:00:48 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2014-11-19 12:00:48 +0000 |
commit | 80e3b689c31efcb2308a8d2474f9a6f772e57330 (patch) | |
tree | 4344009ae411377c3abeb0502de7821fcaa6da8e /net | |
parent | e9e5fefc87edb870556c2791deee06b33cf6c3cf (diff) | |
download | pkgsrc-80e3b689c31efcb2308a8d2474f9a6f772e57330.tar.gz |
Added net/ocaml-ipaddr, a IP/MAC address manipulation library. It's needed
as a dependency of the new version of www/ocsigen.
Diffstat (limited to 'net')
-rw-r--r-- | net/ocaml-ipaddr/DESCR | 2 | ||||
-rw-r--r-- | net/ocaml-ipaddr/Makefile | 21 | ||||
-rw-r--r-- | net/ocaml-ipaddr/PLIST | 12 | ||||
-rw-r--r-- | net/ocaml-ipaddr/buildlink3.mk | 12 | ||||
-rw-r--r-- | net/ocaml-ipaddr/distinfo | 5 |
5 files changed, 52 insertions, 0 deletions
diff --git a/net/ocaml-ipaddr/DESCR b/net/ocaml-ipaddr/DESCR new file mode 100644 index 00000000000..7c0b5327e39 --- /dev/null +++ b/net/ocaml-ipaddr/DESCR @@ -0,0 +1,2 @@ +Ocaml-ipaddr is a library for manipulation of IP and MAC address +representations, supporting both IPv4 and IPv6. diff --git a/net/ocaml-ipaddr/Makefile b/net/ocaml-ipaddr/Makefile new file mode 100644 index 00000000000..e72077e805e --- /dev/null +++ b/net/ocaml-ipaddr/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2014/11/19 12:00:48 jaapb Exp $ + +VERSION= 1.0.0 +PKGNAME= ocaml-ipaddr-${VERSION} +DISTNAME= v${VERSION} +DIST_SUBDIR= ocaml-ipaddr +CATEGORIES= net +MASTER_SITES= https://github.com/mirage/ocaml-ipaddr/archive/ + +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= https://github.com/mirage/ocaml-ipaddr/ +COMMENT= Library for manipulation of IP and MAC addresses +LICENSE= isc + +WRKSRC= ${WRKDIR}/ocaml-ipaddr-${VERSION} + +OCAML_USE_FINDLIB= yes +OCAML_USE_OASIS= yes + +.include "../../mk/ocaml.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/ocaml-ipaddr/PLIST b/net/ocaml-ipaddr/PLIST new file mode 100644 index 00000000000..955087e5134 --- /dev/null +++ b/net/ocaml-ipaddr/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1 2014/11/19 12:00:48 jaapb Exp $ +${OCAML_SITELIB}/ipaddr/META +${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.a +${OCAML_SITELIB}/ipaddr/ipaddr.cma +${OCAML_SITELIB}/ipaddr/ipaddr.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/ipaddr.cmxs +${OCAML_SITELIB}/ipaddr/ipaddr.mli +${OCAML_SITELIB}/ipaddr/macaddr.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/ipaddr/macaddr.cmx +${OCAML_SITELIB}/ipaddr/macaddr.mli diff --git a/net/ocaml-ipaddr/buildlink3.mk b/net/ocaml-ipaddr/buildlink3.mk new file mode 100644 index 00000000000..01f7f838d33 --- /dev/null +++ b/net/ocaml-ipaddr/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/11/19 12:00:48 jaapb Exp $ + +BUILDLINK_TREE+= ocaml-ipaddr + +.if !defined(OCAML_IPADDR_BUILDLINK3_MK) +OCAML_IPADDR_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ocaml-ipaddr+= ocaml-ipaddr>=1.0.0 +BUILDLINK_PKGSRCDIR.ocaml-ipaddr?= ../../net/ocaml-ipaddr +.endif # OCAML_IPADDR_BUILDLINK3_MK + +BUILDLINK_TREE+= -ocaml-ipaddr diff --git a/net/ocaml-ipaddr/distinfo b/net/ocaml-ipaddr/distinfo new file mode 100644 index 00000000000..1941e2fd251 --- /dev/null +++ b/net/ocaml-ipaddr/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/11/19 12:00:48 jaapb Exp $ + +SHA1 (ocaml-ipaddr/v1.0.0.tar.gz) = fb48f8d4b5d921b9f4c7c249bbc12014339776e9 +RMD160 (ocaml-ipaddr/v1.0.0.tar.gz) = 4052a798fcad49db2454dc941b13af0a6bef89b7 +Size (ocaml-ipaddr/v1.0.0.tar.gz) = 45649 bytes |