pkgsrc/lang/camlp5/Makefile
jaapb 75fbf638f1 Updated package to latest version, 6.16. Changes include:
* [28 Apr 16] Fixed problems of compatibility with previous versions of
  ocaml.
* [23 Jan 16] Fixed bug on optional types (ocaml 4.02).
* [15 Jan 16] Fixed bug on methods wrongly interpreted as vals.
* [05 Jan 16] Updated for ocaml trunk 4.03.0
  (git version be2a7e2f830911b331657b8cfa462f5219dfec5b)
* [26 Nov 15] Updated again for ocaml trunk current version (4.03.0).
* [23 Sep 15] Updated for ocaml trunk current version (4.03.0).
2016-05-06 10:50:55 +00:00

39 lines
969 B
Makefile

# $NetBSD: Makefile,v 1.26 2016/05/06 10:50:55 jaapb Exp $
#
DISTNAME= camlp5-6.16
CATEGORIES= lang
MASTER_SITES= http://camlp5.gforge.inria.fr/distrib/src/
EXTRACT_SUFX= .tgz
MAINTAINER= tonio@NetBSD.org
HOMEPAGE= http://camlp5.gforge.inria.fr/
COMMENT= Camlp5 is a preprocessor-pretty-printer of ocaml
LICENSE= modified-bsd
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
INSTALLATION_DIRS+= ${OCAML_SITELIBDIR}/camlp5
.include "../../mk/bsd.prefs.mk"
.include "../../mk/ocaml.mk"
.if (${OCAML_USE_OPT_COMPILER} == "yes")
BUILD_TARGET= world.opt
.else
BUILD_TARGET= world
.endif
post-install:
cd ${WRKSRC}/etc && \
${INSTALL_DATA} META ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlp5
.include "../../mk/bsd.pkg.mk"