blob: 307148bce0450b015829669b0fcff3c27620c116 (
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
|
# $NetBSD: Makefile,v 1.5 2011/12/06 00:19:23 sbd Exp $
#
DISTNAME= lwt-1.1.0
PKGNAME= ocaml-${DISTNAME}
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.ocsigen.org/download/
MAINTAINER= jaapb@kerguelen.org
HOMEPAGE= http://www.ocsigen.org/
COMMENT= Cooperative threading library for OCaml
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
BUILD_TARGET= META byte
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
BUILD_TARGET+= opt
PLIST_SRC+= PLIST.opt
.endif
BUILD_TARGET+= doc
PLIST_SRC+= PLIST
INSTALLATION_DIRS+= share/doc/ocaml-lwt
post-install:
${INSTALL_DATA} ${WRKSRC}/_build/lwt.docdir/* ${DESTDIR}${PREFIX}/share/doc/ocaml-lwt
.include "../../security/ocaml-ssl/buildlink3.mk"
.include "../../lang/ocaml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|