c374fd92b4
From Antti Harri, ok jasper@
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.6 2011/11/02 19:18:35 sthen Exp $
|
|
|
|
COMMENT= minimalistic Boolean satisfiability solver
|
|
|
|
DISTNAME= minisat-2.2.0
|
|
REVISION= 0
|
|
CATEGORIES= math
|
|
|
|
HOMEPAGE= http://minisat.se/
|
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}downloads/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
MiniSat.pdf
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
WANTLIB += c m stdc++ z
|
|
|
|
USE_GMAKE= Yes
|
|
ALL_TARGET= minisat
|
|
NO_REGRESS= Yes
|
|
MAKE_ENV+= MROOT=${WRKBUILD}
|
|
WRKDIST= ${WRKDIR}/minisat
|
|
|
|
do-build:
|
|
cd ${WRKBUILD}/core && ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
|
|
cd ${WRKBUILD}/simp && ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/core/minisat ${PREFIX}/bin/minisat
|
|
${INSTALL_PROGRAM} ${WRKSRC}/simp/minisat ${PREFIX}/bin/minisats
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/minisat
|
|
${INSTALL_DATA} ${DISTDIR}/MiniSat.pdf ${PREFIX}/share/doc/minisat
|
|
|
|
.include <bsd.port.mk>
|