aboutsummaryrefslogtreecommitdiffstats
path: root/math/picosat/Makefile
blob: a5b862479dfda868f2760fccdf6c04b67b59b78f (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
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$

PORTNAME=   picosat
DISTVERSION=    957
CATEGORIES= math
MASTER_SITES=   http://fmv.jku.at/picosat/

MAINTAINER= koobs@FreeBSD.org
COMMENT=    Satisfiability (SAT) solver for boolean variables

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_LDCONFIG=       yes
HAS_CONFIGURE=      yes
CONFIGURE_ARGS=     --shared --trace --stats
MAKEFILE=       makefile
MAKE_JOBS_UNSAFE=   yes

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/picosat ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/picomcs ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/picomus ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/picogcnf ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_LIB} ${WRKSRC}/libpicosat.so ${STAGEDIR}${PREFIX}/lib
    ${INSTALL_DATA} ${WRKSRC}/libpicosat.a ${STAGEDIR}${PREFIX}/lib
    ${INSTALL_DATA} ${WRKSRC}/picosat.h ${STAGEDIR}${PREFIX}/include

.include <bsd.port.mk>