mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
0438143249
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true, as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107). Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when it is always needed, I renamed it, in one case, I merged two patches. Differential Revision: https://reviews.freebsd.org/D2209
32 lines
780 B
Makefile
32 lines
780 B
Makefile
# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= stp
|
|
PORTVERSION= 1436
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://intara.arrowdodger.ru/
|
|
|
|
MAINTAINER= 6yearold@gmail.com
|
|
COMMENT= Decision Procedure for Bitvectors and Arrays
|
|
|
|
LICENSE= MIT
|
|
|
|
LIB_DEPENDS= libboost_program_options.so:${PORTSDIR}/devel/boost-libs \
|
|
libboost_system.so:${PORTSDIR}/devel/boost-libs
|
|
|
|
USES= bison:build cmake perl5 tar:xz
|
|
USE_PERL5= build
|
|
CMAKE_ARGS= -DFL_LIBRARY=/usr/lib/libfl.a
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if (${OSVERSION} < 1000000)
|
|
BUILD_DEPENDS+=flex>=2.5.38:${PORTSDIR}/textproc/flex
|
|
CMAKE_ARGS+= -DFL_LIBRARY=${LOCALBASE}/lib/libfl.a \
|
|
-DFLEX_INCLUDE_DIR=${LOCALBASE}/include/flex \
|
|
-DFLEX_EXECUTABLE=${LOCALBASE}/bin/flex
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|