1131b68f0f
CHANGES: [compat] Allow version strings without patch numbers, e.g. 8.13+beta1 The patch number will be set to 0 upon empty, i.e. (8, 13, 0)
30 lines
831 B
Makefile
30 lines
831 B
Makefile
# $NetBSD: Makefile,v 1.28 2021/11/23 21:48:13 wiz Exp $
|
|
|
|
DISTNAME= cppo-1.6.8
|
|
PKGNAME= ocaml-${DISTNAME}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocaml-community/}
|
|
GITHUB_PROJECT= cppo
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
HOMEPAGE= https://github.com/ocaml-community/cppo/
|
|
COMMENT= C-style preprocessor for OCaml
|
|
LICENSE= modified-bsd
|
|
|
|
USE_LANGUAGES= # none
|
|
#USE_TOOLS+= gmake
|
|
|
|
OCAML_USE_DUNE= yes
|
|
|
|
INSTALLATION_DIRS+= bin ${OCAML_SITELIBDIR}/cppo_ocamlbuild \
|
|
share/doc/ocaml-cppo share/doc/ocaml-cppo_ocamlbuild
|
|
OCAML_FINDLIB_DIRS+= cppo_ocamlbuild
|
|
DUNE_BUILD_PACKAGES= cppo cppo_ocamlbuild
|
|
OPAM_INSTALL_FILES= cppo cppo_ocamlbuild
|
|
|
|
.include "../../mk/ocaml.mk"
|
|
|
|
.include "../../devel/ocamlbuild/buildlink3.mk"
|
|
BUILDLINK_DEPMETHOD.ocamlbuild= full
|
|
.include "../../mk/bsd.pkg.mk"
|