2020-07-28 08:35:31 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2020/07/28 08:35:31 daniel Exp $
|
2018-09-12 04:58:49 +00:00
|
|
|
|
2020-07-07 23:03:10 +00:00
|
|
|
ONLY_FOR_ARCHS = aarch64 amd64 i386 powerpc
|
2015-09-05 00:20:08 +00:00
|
|
|
|
|
|
|
COMMENT = high assurance C compiler
|
|
|
|
|
2020-07-28 08:35:31 +00:00
|
|
|
V = 3.7.20200727
|
2015-09-05 00:20:08 +00:00
|
|
|
GH_ACCOUNT = AbsInt
|
|
|
|
GH_PROJECT = CompCert
|
2020-06-02 12:58:22 +00:00
|
|
|
#GH_TAGNAME = v${V}
|
2020-07-28 08:35:31 +00:00
|
|
|
GH_COMMIT = 0132b8aa669adc10e6ca953d10d5c0b861f304b1
|
2019-09-07 17:24:37 +00:00
|
|
|
DISTNAME = ${GH_PROJECT}-${V}
|
2015-09-05 00:20:08 +00:00
|
|
|
PKGNAME = ${DISTNAME:L}
|
|
|
|
|
|
|
|
HOMEPAGE = http://compcert.inria.fr/
|
|
|
|
|
|
|
|
CATEGORIES = lang
|
|
|
|
|
|
|
|
# INRIA Non-Commercial License Agreement.
|
2019-07-14 00:39:34 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2015-09-05 00:20:08 +00:00
|
|
|
|
|
|
|
WANTLIB += c m
|
|
|
|
|
2019-04-20 22:12:41 +00:00
|
|
|
COMPILER = ports-gcc
|
|
|
|
|
2015-09-05 00:20:08 +00:00
|
|
|
USE_GMAKE = Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE = simple
|
2019-08-18 01:15:12 +00:00
|
|
|
CONFIGURE_ARGS = -no-standard-headers \
|
2018-09-12 04:58:49 +00:00
|
|
|
${MACHINE_ARCH}-bsd
|
2015-09-05 00:20:08 +00:00
|
|
|
|
2020-02-16 04:34:23 +00:00
|
|
|
BUILD_DEPENDS = lang/ocaml>=4.05 \
|
|
|
|
math/coq>=8.8.0 \
|
2020-07-07 23:03:10 +00:00
|
|
|
sysutils/findlib \
|
2019-08-18 01:15:12 +00:00
|
|
|
devel/ocaml-menhir>=20190626
|
2015-09-05 00:20:08 +00:00
|
|
|
|
2019-04-20 22:12:41 +00:00
|
|
|
RUN_DEPENDS = lang/gcc/${MODGCC4_VERSION}
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
sed -i -e 's/gcc/egcc/g' ${WRKSRC}/configure
|
|
|
|
|
2015-09-05 00:20:08 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/compcert
|
2018-09-12 04:58:49 +00:00
|
|
|
sed -i -e "s,^stdlib_path=.*,stdlib_path=${TRUEPREFIX}/lib," \
|
2015-09-05 00:20:08 +00:00
|
|
|
${PREFIX}/share/compcert/compcert.ini
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|