[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / ocaml-cairo

File: [cvs.NetBSD.org] / pkgsrc / graphics / ocaml-cairo / Makefile (download)

Revision 1.22, Wed Nov 23 16:20:21 2022 UTC (2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.21: +2 -1 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.22 2022/11/23 16:20:21 adam Exp $

GITHUB_PROJECT=	ocaml-cairo
DISTNAME=	${GITHUB_PROJECT}-0.6.4
PKGREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_GITHUB:=Chris00/}

MAINTAINER=	jaapb@NetBSD.org
HOMEPAGE=	https://github.com/Chris00/ocaml-cairo/
COMMENT=	Bindings for OCaml to the cairo library
LICENSE=	gnu-lgpl-v3

OCAML_USE_DUNE=		yes
OCAML_FINDLIB_DIRS=	cairo2
OPAM_INSTALL_FILES=	${OCAML_FINDLIB_DIRS}
DUNE_BUILD_PACKAGES=	${OCAML_FINDLIB_DIRS}

USE_TOOLS+=	pkg-config

# (See options.mk.)  Upstream says that lablgtk is required, but it is
# not.
#   https://github.com/Chris00/ocaml-cairo/issues/29

.include "options.mk"
.include "../../lang/ocaml/ocaml.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../devel/ocaml-dune-configurator/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"