97472fceea
Changes: * [05 Jun 08] Changed all '#!/bin/bash" in shells scripts into '#!/bin/sh' and changed all $(...) into `...` because there are compatibilities problems according to Unix versions. * [31 Mar 08] Fixed bug: "let f ~_x () = ()" generated syntax error. * [31 Mar 08] Fixed bug: "x $ y" generated syntax error (normal syntax). * [02 Jan 08] Added compatibility with OCaml 3.10.3.
37 lines
1,009 B
Makefile
37 lines
1,009 B
Makefile
# $NetBSD: Makefile,v 1.7 2008/06/21 06:37:52 tonio Exp $
|
|
#
|
|
|
|
DISTNAME= camlp5-5.09
|
|
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"
|