1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/math/lingeling/Makefile
Yuri Victorovich c54bfe9890 math/lingeling: update g20220515 → 1.0.0
Reported by:	portscout
2024-03-06 12:09:13 -08:00

44 lines
910 B
Makefile

PORTNAME= lingeling
DISTVERSIONPREFIX= rel-
DISTVERSION= 1.0.0
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Lingeling SAT Solver
WWW= http://fmv.jku.at/lingeling/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= arminbiere
BINARY_ALIAS= gcc=${CC}
EXECUTABLES= ilingeling lglddtrace lglmbt lgluntrace lingeling plingeling treengeling
CFLAGS+= -fPIC
PLIST_FILES= ${EXECUTABLES:S/^/bin\//} \
include/lglib.h \
lib/liblgl.a
do-configure:
@cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ./configure.sh
do-build:
@cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} -j${MAKE_JOBS_NUMBER}
do-install:
.for e in ${EXECUTABLES}
${INSTALL_PROGRAM} ${WRKSRC}/${e} ${STAGEDIR}${PREFIX}/bin
.endfor
${INSTALL_DATA} ${WRKSRC}/lglib.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/liblgl.a ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>