blob: 563c813845a01ff5cb7fde77aa10c2e62bb9f4cd (
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
|
# $NetBSD: Makefile,v 1.4 2009/06/30 00:07:18 joerg Exp $
#
DISTNAME= ocamlduce-3.10.2
CATEGORIES= lang
MASTER_SITES= http://gallium.inria.fr/~frisch/ocamlcduce/download/
MAINTAINER= jaapb@kerguelen.org
HOMEPAGE= http://gallium.inria.fr/~frisch/ocamlcduce/
COMMENT= Library to integrate XML features into OCaml
MAKE_JOBS_SAFE= no
DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
USE_TOOLS+= gmake
BUILD_TARGET= all
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
MAKE_ENV+= HAVE_OCAMLOPT=yes
BUILD_TARGET= opt
INSTALL_TARGET= install
PLIST_SRC+= PLIST.opt
.endif
PLIST_SRC+= PLIST
BUILDLINK_API_DEPENDS.ocaml+= ocaml>=3.10.2
.include "../../lang/ocaml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|