Line 0
Link Here
|
|
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= cryptominisat |
4 |
PORTVERSION= 4.2.0 |
5 |
CATEGORIES= math |
6 |
MASTER_SITES= http://msoos.org/largefiles/ |
7 |
|
8 |
MAINTAINER= 6yearold@gmail.com |
9 |
COMMENT= General-purpose award-winning SAT solver |
10 |
|
11 |
LICENSE= LGPL3 |
12 |
|
13 |
LIB_DEPENDS= libboost_program_options.so:${PORTSDIR}/devel/boost-libs |
14 |
|
15 |
OPTIONS_DEFINE= PYTHON |
16 |
OPTIONS_SUB= yes |
17 |
|
18 |
PYTHON_DESC= Python interface to cryptominisat |
19 |
|
20 |
USES= tar:bzip2 cmake |
21 |
|
22 |
CMAKE_ARGS= -DNOMYSQL=1 -DNOM4RI=1 -DFREEBSD_STAGEDIR=${STAGEDIR} |
23 |
|
24 |
WRKSRC= ${WRKDIR}/cryptominisat4-${PORTVERSION} |
25 |
|
26 |
.include <bsd.port.options.mk> |
27 |
|
28 |
.if ${PORT_OPTIONS:MPYTHON} |
29 |
USES+= python:build |
30 |
PLIST_SUB+= EGGFILE=pycryptosat-${PORTVERSION}-py${PYTHON_VER}.egg-info |
31 |
.else |
32 |
CMAKE_ARGS+= -DPYTHON_EXECUTABLE=0 |
33 |
.endif |
34 |
|
35 |
.include <bsd.port.mk> |