pkgsrc/lang/ocamlduce/Makefile
tonio 9782fd386f OCamlDuce is an enhancement to OCaml that allows one to use XML features,
such as types and values, natively in OCaml programs.

The goal of the OCamlDuce project is to extend the OCaml language with features
to make it easier to write safe and efficient complex applications that need to
deal with XML documents. In particular, it relies on a notion of types and
patterns to guarantee statically that all the possible input documents are
correctly processed, and that only valid output documents are produced.

WWW: http://www.cduce.org/ocaml
2007-04-08 23:04:53 +00:00

27 lines
745 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2007/04/08 23:04:53 tonio Exp $
#
DISTNAME= ocamlduce-3.09.3pl1
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
PLIST_SRC+= PLIST
.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
.include "../../lang/ocaml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"