blob: c1eeb3d74527f2c503e2fc209790b91d237284b8 (
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
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.8 2015/02/11 15:30:12 jaapb Exp $
#
VERSION= 4.1.0
PKGNAME= eliom-${VERSION}
DISTNAME= ${VERSION}
DIST_SUBDIR= eliom
CATEGORIES= www
MASTER_SITES= http://github.com/ocsigen/eliom/archive/
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://ocsigen.org/download/
COMMENT= Dynamic webpage generation library
LICENSE= gnu-lgpl-v2.1
USE_TOOLS+= gmake
USE_LANGUAGES= c
WRKSRC= ${WRKDIR}/eliom-${VERSION}
DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
DEPENDS+= js_of_ocaml>=2.2:../../devel/js_of_ocaml # with ocaml-tyxml option
DEPENDS+= ocsigen>=2.4:../../www/ocsigen
DEPENDS+= ocaml-tyxml>=3:../../textproc/ocaml-tyxml
DEPENDS+= ocaml-react>=0.9.3:../../devel/ocaml-react
DEPENDS+= ocaml-calendar>=2.03.1:../../time/ocaml-calendar
DEPENDS+= ocaml-deriving-ocsigen>=0.6:../../devel/ocaml-deriving-ocsigen
.include "../../mk/ocaml.mk"
.if ${OCAML_USE_OPT_COMPILER} == "yes"
BUILD_TARGET= all
.else
BUILD_TARGET= byte
.endif
do-install:
cd ${WRKSRC} && opam-installer --install --prefix ${DESTDIR}${PREFIX} --libdir ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR} --docdir ${DESTDIR}${PREFIX}/share/doc eliom.install
.include "../../devel/ocaml-optcomp/buildlink3.mk"
.include "../../misc/ocaml-opam/buildlink3.mk"
BUILDLINK_DEPMETHOD.ocaml-opam?= build
.include "../../net/ocaml-ipaddr/buildlink3.mk"
.include "../../net/ocamlnet/buildlink3.mk"
.include "../../security/ocaml-ssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|