9637f7852e
pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
30 lines
670 B
Makefile
30 lines
670 B
Makefile
# $NetBSD: Makefile,v 1.10 2020/01/26 17:31:44 rillig Exp $
|
|
|
|
VERSION= 2.0.0
|
|
GITHUB_PROJECT= opam-file-format
|
|
GITHUB_TAG= ${VERSION:S/_/-/}
|
|
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
|
|
PKGNAME= ocaml-${DISTNAME}
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocaml/}
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
HOMEPAGE= https://opam.ocaml.org/
|
|
COMMENT= Parser and printer for the opam file syntax
|
|
LICENSE= gnu-lgpl-v3
|
|
|
|
USE_TOOLS+= gmake
|
|
OCAML_USE_FINDLIB= yes
|
|
|
|
INSTALL_ENV+= LIBDIR=${PREFIX}/${OCAML_SITELIBDIR}
|
|
|
|
.include "../../mk/ocaml.mk"
|
|
|
|
.if ${OCAML_USE_OPT_COMPILER} == "yes"
|
|
BUILD_TARGET= all
|
|
.else
|
|
BUILD_TARGET= byte
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|