freebsd-ports/math/why3-gpl/Makefile
John Marino 80ccba4850 math/why3-gpl: upgrade version 2014 => 2015
While here, decouple this port from math/why3.  They are diverging fast.
This port is needed to build SPARK 2015 binaries which will be installed
by the lang/spark port (rather than building from source)
2015-06-26 22:13:46 +00:00

48 lines
1.2 KiB
Makefile

# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$
PORTNAME= why3
PORTVERSION= 2015
CATEGORIES= math
MASTER_SITES= http://downloads.dragonlace.net/src/ \
LOCAL/marino
PKGNAMESUFFIX= -gpl
DISTNAME= why3-for-spark-gpl-${PORTVERSION}-src
MAINTAINER= marino@FreeBSD.org
COMMENT= Component of SPARK 2015
LICENSE= LGPL21 GPLv3
LICENSE_COMB= multi
BUILD_DEPENDS= menhir:${PORTSDIR}/devel/menhir \
ocaml-zip>1:${PORTSDIR}/archivers/ocaml-zip \
ocaml-zarith>1.2:${PORTSDIR}/math/ocaml-zarith \
lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 \
ocaml-sqlite3>2:${PORTSDIR}/databases/ocaml-sqlite3 \
ocaml-ocamlgraph>1.8:${PORTSDIR}/math/ocaml-ocamlgraph \
camlp5o:${PORTSDIR}/devel/ocaml-camlp5
USES= gmake
USE_OCAML= yes
ALL_TARGET= all
GNU_CONFIGURE= yes
INSTALL_TARGET= install-all
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ARGS= --enable-relocation \
--disable-doc \
--disable-pvs-libs \
--disable-profiling \
--disable-coq-tactic \
--disable-coq-libs \
--disable-isabelle-libs
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' \
${WRKSRC}/src/util/sysutil.ml
@${REINPLACE_CMD} -e '/cp -f share\/Make/d' \
-e 's|why3.el|why3-mode.el|' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>