freebsd-ports/math/stp/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

31 lines
744 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:devel/boost-libs \
libboost_system.so: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: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>