27 lines
959 B
Makefile
27 lines
959 B
Makefile
# $NetBSD: Makefile,v 1.23 2022/05/24 18:59:34 jaapb Exp $
|
|
|
|
DISTNAME= ${GITHUB_PROJECT}-5.3.0
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=mirage/}
|
|
GITHUB_PROJECT= ocaml-ipaddr
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
HOMEPAGE= https://github.com/mirage/ocaml-ipaddr/
|
|
COMMENT= Library for manipulation of IP and MAC addresses
|
|
LICENSE= isc
|
|
|
|
OCAML_USE_DUNE= yes
|
|
DUNE_BUILD_PACKAGES= macaddr macaddr-cstruct macaddr-sexp \
|
|
ipaddr ipaddr-cstruct ipaddr-sexp
|
|
OPAM_INSTALL_FILES= ${DUNE_BUILD_PACKAGES}
|
|
OCAML_FINDLIB_DIRS= ${DUNE_BUILD_PACKAGES}
|
|
|
|
.include "../../devel/ocamlbuild/buildlink3.mk"
|
|
.include "../../devel/ocaml-cstruct/buildlink3.mk"
|
|
.include "../../devel/ocaml-sexplib0/buildlink3.mk"
|
|
.include "../../devel/ocaml-stdlib-shims/buildlink3.mk"
|
|
.include "../../devel/ocaml-ppx_sexp_conv/buildlink3.mk"
|
|
.include "../../net/ocaml-domain-name/buildlink3.mk"
|
|
.include "../../lang/ocaml/ocaml.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|