mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
48 lines
968 B
Makefile
48 lines
968 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= z3
|
|
DISTVERSIONPREFIX= ${PORTNAME}-
|
|
DISTVERSION= 4.8.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= arrowd@FreeBSD.org
|
|
COMMENT= Z3 Theorem Prover
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USES= compiler:c++11-lang python:2.7,build
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Z3Prover
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= DEBUG STATIC GMP
|
|
|
|
OPTIONS_DEFAULT= STATIC
|
|
OPTIONS_SUB= yes
|
|
|
|
DEBUG_CONFIGURE_ON= --debug
|
|
|
|
STATIC_DESC= Build static z3 library
|
|
STATIC_CONFIGURE_ON= --staticlib
|
|
|
|
GMP_DESC= Use GMP library for AP arithmetic
|
|
GMP_CONFIGURE_ON= --gmp
|
|
GMP_USES= localbase:ldflags
|
|
GMP_LIB_DEPENDS= libgmp.so:math/gmp
|
|
|
|
LDFLAGS_i386= -Wl,-znotext
|
|
BUILD_WRKSRC= ${WRKSRC}/build
|
|
INSTALL_WRKSRC= ${WRKSRC}/build
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/z3
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libz3.so
|
|
${LN} -s libz3.so ${STAGEDIR}${PREFIX}/lib/libz3.so.0
|
|
|
|
.include <bsd.port.mk>
|