blob: b15b0ded33ce196d92c791d8b2432536d49be8ec (
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
|
# $NetBSD: Makefile,v 1.6 2013/11/01 11:30:23 jaapb Exp $
#
DISTNAME= eliom-3.0.3
PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= http://ocsigen.org/download/
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://ocsigen.org/download/
COMMENT= Dynamic webpage generation library
LICENSE= gnu-lgpl-v2.1
USE_LANGUAGES= c
USE_TOOLS= gmake
HAS_CONFIGURE= yes
DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
DEPENDS+= js_of_ocaml>=1.3.2:../../devel/js_of_ocaml
DEPENDS+= ocsigen>=2.2:../../www/ocsigen
DEPENDS+= ocaml-tyxml>=2.2:../../textproc/ocaml-tyxml
DEPENDS+= ocaml-react>=0.9.2:../../devel/ocaml-react
DEPENDS+= ocaml-calendar>=2.01.1:../../time/ocaml-calendar
DEPENDS+= ocaml-deriving-ocsigen>=0.3:../../devel/ocaml-deriving-ocsigen
CONFIGURE_ARGS+= --temproot ${DESTDIR} --prefix ${PREFIX} \
--libdir ${PREFIX}/lib/ocaml/site-lib
INSTALLATION_DIRS= lib/ocaml/site-lib
PLIST_VARS= opt
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
PLIST.opt= yes
CONFIGURE_ARGS+= --enable-natdynlink
.else
CONFIGURE_ARGS== --disable-natdynlink
.endif
.include "../../lang/ocaml/buildlink3.mk"
.include "../../net/ocamlnet/buildlink3.mk"
.include "../../security/ocaml-ssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|