blob: 5dbf0e9eb4207984d1ac74039182317b6bfc2259 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.10 2016/12/30 11:17:01 jaapb Exp $
VERSION= 1.2.2
GITHUB_PROJECT= opam
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
PKGNAME= ocaml-${DISTNAME}
PKGREVISION= 2
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocaml/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://opam.ocaml.org/
COMMENT= OCaml package manager
LICENSE= gnu-lgpl-v3
MAKE_JOBS_SAFE= no
HAS_CONFIGURE= yes
USE_TOOLS+= gawk gmake
CONFIGURE_ARGS+= --prefix=${PREFIX} --mandir=${PREFIX}/${PKGMANDIR}
BUILD_TARGET= all
INSTALL_TARGET= install libinstall
INSTALL_ENV+= LIBINSTALL_DIR=${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}
.include "../../devel/ocaml-cmdliner/buildlink3.mk"
.include "../../devel/ocaml-extlib/buildlink3.mk"
.include "../../devel/ocaml-re/buildlink3.mk"
.include "../../devel/ocamlgraph/buildlink3.mk"
.include "../../lang/camlp4/buildlink3.mk"
.include "../../misc/dose3/buildlink3.mk" # with ocamlgraph option
.include "../../misc/ocaml-cudf/buildlink3.mk"
.include "../../textproc/ocaml-jsonm/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/ocaml.mk"
.include "../../mk/bsd.pkg.mk"
|