2018-01-01 19:16:35 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2018/01/01 18:16:38 rillig Exp $
|
2013-10-28 05:15:11 +01:00
|
|
|
|
|
|
|
DISTNAME= minisat-2.2.0
|
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= http://minisat.se/downloads/
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://minisat.se/
|
|
|
|
COMMENT= Minimalistic yet highly efficient SAT solver
|
|
|
|
LICENSE= mit
|
|
|
|
|
2018-01-01 19:16:35 +01:00
|
|
|
WRKSRC= ${WRKDIR}/minisat
|
2013-10-28 05:15:11 +01:00
|
|
|
USE_LANGUAGES= c++
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
#BUILD_DIRS= core simp
|
|
|
|
BUILD_DIRS= simp
|
2018-01-01 19:16:35 +01:00
|
|
|
MAKE_ENV= MROOT=${WRKSRC}
|
2014-12-15 13:31:09 +01:00
|
|
|
MAKE_ENV+= LFLAGS="-L${BUILDLINK_PREFIX.zlib}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.zlib}/lib"
|
2013-10-28 05:15:11 +01:00
|
|
|
BUILD_TARGET= # empty
|
|
|
|
|
|
|
|
INSTALLATION_DIRS+= bin
|
|
|
|
|
|
|
|
do-install:
|
2018-01-01 19:16:35 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/simp/minisat \
|
|
|
|
${DESTDIR}${PREFIX}/bin/minisat
|
2013-10-28 05:15:11 +01:00
|
|
|
|
2014-01-09 15:38:33 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2013-10-28 05:15:11 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|