blob: 5db5912b8f7d875114c1c5dc560fa9e7089d8df1 (
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
33
34
35
36
37
38
39
40
|
PORTNAME= btor2tools
DISTVERSION= g20190418
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= cpe
CPE_VENDOR= ${PORTNAME}_project
USE_GITHUB= yes
GH_ACCOUNT= Boolector
GH_TAGNAME= 1df768d
USE_LDCONFIG= yes
MAKEFILE= makefile
PLIST_FILES= bin/btorsim \
bin/catbtor \
include/btor2parser/btor2parser.h \
lib/libbtor2parser.so
do-configure:
@cd ${WRKSRC} && CFLAGS="" CC=${CC} ./configure.sh -shared -fPIC
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/btor2parser
${INSTALL_DATA} ${WRKSRC}/src/btor2parser/btor2parser.h ${STAGEDIR}${PREFIX}/include/btor2parser
${INSTALL_LIB} ${WRKSRC}/build/libbtor2parser.so ${STAGEDIR}${PREFIX}/lib
.for exe in btorsim catbtor
${INSTALL_PROGRAM} ${WRKSRC}/bin/${exe} ${STAGEDIR}${PREFIX}/bin
.endfor
do-test:
@cd ${WRKSRC} && LD_PRELOAD=${WRKSRC}/build/libbtor2parser.so test/runtests.sh
.include <bsd.port.mk>
|