summaryrefslogtreecommitdiff
path: root/math/btor2tools/Makefile
blob: ee2bdf7cf41ff28e4d51d6625119969148ee465c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
PORTNAME=	btor2tools
DISTVERSION=	g20320816
CATEGORIES=	math

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Generic parser and tool package for the BTOR2 format
WWW=		https://github.com/Boolector/btor2tools

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

USES=		cmake cpe
USE_LDCONFIG=	yes

CPE_VENDOR=	${PORTNAME}_project

USE_GITHUB=	yes
GH_ACCOUNT=	Boolector
GH_TAGNAME=	037f1fa

MAKEFILE=	makefile

PLIST_FILES=	bin/btorsim \
		bin/btorsplit \
		bin/catbtor \
		include/btor2parser.h \
		lib/libbtor2parser.so

do-test:
	@cd ${WRKSRC} && LD_PRELOAD=${WRKSRC}/build/libbtor2parser.so test/runtests.sh

.include <bsd.port.mk>