freebsd-ports/devel/ocaml-camlp4/Makefile
Alexey Dokuchaev b51d447684 Update OCaml to version 4.05.0 (this is the last version where strings
are unsafe by default, which is the main motivation why it was picked,
but not the very latest one) and synchronize the rest of the stack and
dependent ports with it, particularly:

  - Update `devel/ocaml-ocamlbuild' to version 0.14.0 and unbreak,
    register build dependency on all ports that require it (should
    be part of USE_OCAML, but we do not want to make any Mk-related
    changes the for time being)
  - Update `devel/ocaml-camlp4' to version 4.05+2
  - Update `devel/ocaml-camlp5' to version 7.07 (the project had
    moved to GitHub)
  - Mark `devel/ocaml-deriving-ocsigen' as BROKEN for now, it is
    very outdated and requires quite a lot of work
  - Update `x11-toolkits/ocaml-labltk' to version 8.06.3

PR:		218333
Exp-run by:	antoine
2019-06-24 10:14:57 +00:00

32 lines
663 B
Makefile

# Created by: Michael Grünewald <michipili@gmail.com>
# $FreeBSD$
PORTNAME= camlp4
PORTVERSION= 4.05+2
CATEGORIES= devel
PKGNAMEPREFIX= ocaml-
MAINTAINER= michipili@gmail.com
COMMENT= System for writing extensible parsers for OCaml
LICENSE= LGPL20
BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild
USE_GITHUB= yes
GH_ACCOUNT= ocaml
USES= gmake
USE_OCAML= yes
HAS_CONFIGURE= yes
MAKE_ENV+= DESTDIR="${STAGEDIR}"
MAKE_JOBS_UNSAFE=yes
ALL_TARGET= all camlp4/META
INSTALL_TARGET= install install-META
post-install:
.for f in camlp4o camlp4of camlp4oof camlp4orf camlp4r camlp4rf
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}.opt
.endfor
.include <bsd.port.mk>