pkgsrc/math/minisat/Makefile

29 lines
723 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 2018/01/01 18:16:38 rillig Exp $
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
WRKSRC= ${WRKDIR}/minisat
USE_LANGUAGES= c++
USE_TOOLS+= gmake
#BUILD_DIRS= core simp
BUILD_DIRS= simp
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"
BUILD_TARGET= # empty
INSTALLATION_DIRS+= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/simp/minisat \
${DESTDIR}${PREFIX}/bin/minisat
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"