blob: 39b4193bc421fac0e60c0d36283e0eee5b93d4e1 (
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
|
# Created by: Ed Schouten <ed@FreeBSD.org>
# $FreeBSD$
PORTNAME= bddsolve
PORTVERSION= 1.03
PORTREVISION= 1
CATEGORIES= science
MASTER_SITES= http://www.win.tue.nl/~wieger/bddsolve/_downloads/
DISTNAME= ${PORTNAME}-source-${PORTVERSION}
MAINTAINER= ed@FreeBSD.org
COMMENT= BDD-based satisfiability and reachability solver
LIB_DEPENDS+= libbdd.so:${PORTSDIR}/science/buddy \
libboost_program_options.so:${PORTSDIR}/devel/boost-libs
USE_ZIP= yes
NO_WRKSUBDIR= yes
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc: runs out of virtual memory
.endif
do-build:
${CXX} ${CFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include \
${LDFLAGS} -L${LOCALBASE}/lib -lbdd -lboost_program_options \
-o ${WRKSRC}/bddsolve ${WRKSRC}/src/bddsolve.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bddsolve ${LOCALBASE}/bin/
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/reach.b ${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/example/sat.b ${EXAMPLESDIR}/
.endif
.include <bsd.port.post.mk>
|