pkgsrc/lang/ocamlduce/Makefile
obache 6abb35f709 Update ocamlduce to 3.10.2.
Based on maintainer update request in PR 39450.
(Changes is unkonw)
2008-10-13 13:13:37 +00:00

30 lines
785 B
Makefile

# $NetBSD: Makefile,v 1.3 2008/10/13 13:13:37 obache 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
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"