blob: 7cba030532dd9cf1f181435bc77fadd712f080a2 (
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
|
# $NetBSD: Makefile,v 1.3 2010/01/17 12:02:13 wiz Exp $
#
DISTNAME= lwt-1.1.0
PKGNAME= ocaml-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.ocsigen.org/download/
MAINTAINER= jaapb@kerguelen.org
HOMEPAGE= http://www.ocsigen.org/
COMMENT= Cooperative threading library for OCaml
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
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/_build/lwt.docdir/* ${PREFIX}/share/doc/${PKGBASE}
.include "../../security/ocaml-ssl/buildlink3.mk"
.include "../../lang/ocaml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|