pkgsrc/lang/camlp5/Makefile
tonio 726df381bd Update lang/camlp5 to 5.15
This version is compatible with the ocaml 3.12.0 in tree

Fix pkg/43956 and pkg/43957

Changes:
Camlp5 Version 5.15:
* [09 Aug 10] Updated compatibility for OCaml current version 3.12.1.
* [09 Aug 10] Upgraded compatibility for OCaml released version 3.12.0.
* [29 Jul 10] Added ability to write AST quotations with a colon before
  the '<' (e.g. "<:expr:< foo >>") which, in pattern position, generates
  a binding of the variable "loc" at the top node:
    1/ normal usage (still working):
         "fun [ <:expr< x >> -> 0 ]"
       which is equivalent to:
         "fun [ MLast.ExLid _ (Ploc.VaVal "x") -> 0 ]
    2/ new usage:
         "fun [ <:expr:< x >> -> 0 ]"
       which is equivalent to:
        "fun [ MLast.ExLid loc (Ploc.VaVal "x") -> 0 ]
* [21 Jun 10] Added compatibility for OCaml trunk version 3.13.0.
* [29 Apr 10] Fixed bug in pr_depend.cmo: a.B.c did not add module B.

Camlp5 Version 5.14:
* [28 Apr 10] Updated compatibility for OCaml current version 3.12.0.
* [31 Mar 10] Fixed bug in pr_o.cmo: error message when using "#use"
2010-10-11 21:27:54 +00:00

37 lines
1,010 B
Makefile

# $NetBSD: Makefile,v 1.12 2010/10/11 21:27:54 tonio Exp $
#
DISTNAME= camlp5-5.15
CATEGORIES= lang
MASTER_SITES= http://pauillac.inria.fr/~ddr/camlp5/distrib/src/
EXTRACT_SUFX= .tgz
MAINTAINER= tonio@NetBSD.org
HOMEPAGE= http://pauillac.inria.fr/~ddr/camlp5/
COMMENT= Camlp5 is a preprocessor-pretty-printer of ocaml
PKG_DESTDIR_SUPPORT= user-destdir
HAS_CONFIGURE= yes
USE_LANGUAGES= c # needed for optimised compiler
MAKE_JOBS_SAFE= no
CONFIGURE_ARGS+= --bindir ${PREFIX}/bin
CONFIGURE_ARGS+= --mandir ${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --libdir ${PREFIX}/lib/ocaml
REPLACE_SH= tools/*.sh meta/*.sh ocaml_src/tools/*.sh compile/*.sh
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
BUILD_TARGET= world.opt
PLIST_SRC+= ${PKGDIR}/PLIST.opt
.else
BUILD_TARGET= world
.endif
PLIST_SRC+= ${PKGDIR}/PLIST
.include "../../lang/ocaml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"