Skip to content

Commit

Permalink
math/eprover: Update 2.0 → 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Jul 23, 2023
1 parent e5b7172 commit b35d6c0
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 35 deletions.
24 changes: 16 additions & 8 deletions math/eprover/Makefile
@@ -1,6 +1,6 @@
PORTNAME= eprover
DISTVERSIONPREFIX= E-
DISTVERSION= 2.0
DISTVERSION= 2.6
PORTREVISION= 1
CATEGORIES= math

Expand All @@ -16,23 +16,31 @@ BUILD_DEPENDS= bash:shells/bash \
help2man:misc/help2man
RUN_DEPENDS= bash:shells/bash

USES= shebangfix
USES= gmake shebangfix
USE_GITHUB= yes

SHEBANG_FILES= etc/bjob_classify \
development_tools/spec_version.sh \
PYTHON/bsub_eprover.py

HAS_CONFIGURE= yes

CONFIGURE_ARGS= --bindir=${STAGEDIR}${PREFIX}/bin/ \
--man-prefix=${STAGEDIR}${PREFIX}/man/man1/
SHEBANG_FILES= PROVER/eproof PROVER/eproof_ram
MAKE_ARGS= CC=${CC}

ALL_TARGET= all man

post-build:
@cd ${WRKSRC} && ${MAKE} man
@${REINPLACE_CMD} -e 's|EXECPATH=.|EXECPATH=${PREFIX}/bin|' \
${WRKSRC}/PROVER/eproof ${WRKSRC}/PROVER/eproof_ram
BINARY_ALIAS= make=${GMAKE} \
gcc=${CC}

post-install:
.for f in checkproof e_axfilter e_deduction_server e_ltb_runner eground \
# strip binaries
.for f in checkproof e_axfilter e_deduction_server e_ltb_runner e_stratpar eground \
ekb_create ekb_delete ekb_ginsert ekb_insert epclextract eprover
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
.endfor
# remove the unnecessary 'picosat' executable
@${RM} ${STAGEDIR}${PREFIX}/bin/picosat

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions math/eprover/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1508690062
SHA256 (eprover-eprover-E-2.0_GH0.tar.gz) = 63986bcfa139381831c14af5ef83e350f8efb169b1d22d15cb92026259ea14d2
SIZE (eprover-eprover-E-2.0_GH0.tar.gz) = 1315451
TIMESTAMP = 1690054815
SHA256 (eprover-eprover-E-2.6_GH0.tar.gz) = 401ecbe4e9abd1a89df47a74929ea970bbde5e863ad9f9f672b24434fa8259ca
SIZE (eprover-eprover-E-2.6_GH0.tar.gz) = 1709485
10 changes: 0 additions & 10 deletions math/eprover/files/patch-Makefile

This file was deleted.

16 changes: 6 additions & 10 deletions math/eprover/files/patch-Makefile.vars
@@ -1,11 +1,13 @@
--- Makefile.vars.orig 2017-07-07 12:35:57 UTC
--- Makefile.vars.orig 2021-06-22 23:43:03 UTC
+++ Makefile.vars
@@ -134,17 +134,17 @@ PROFFLAGS = # -pg
@@ -138,14 +138,14 @@ PROFFLAGS = # -pg
DEBUGGER = # -g -ggdb
LTOFLAGS = # -flto
WFLAGS = -Wall
-OPTFLAGS = -O3 -fomit-frame-pointer -fno-common
+OPTFLAGS =
-OPTFLAGS = -O03 -fomit-frame-pointer -fno-common
+OPTFLAGS = #-O03 -fomit-frame-pointer -fno-common
#OPTFLAGS = -O03 -fno-common
EHOH =


DEBUGFLAGS = $(PROFFLAGS) $(MEMDEBUG) $(DEBUGGER) $(NODEBUG)
Expand All @@ -16,9 +18,3 @@
LD = $(CC) $(LDFLAGS)

# Generic
AR = ar rcs
- CC = gcc
+ CC ?= gcc

# Builds with link time optimization
#
6 changes: 2 additions & 4 deletions math/eprover/pkg-plist
Expand Up @@ -2,25 +2,23 @@ bin/checkproof
bin/e_axfilter
bin/e_deduction_server
bin/e_ltb_runner
bin/e_stratpar
bin/eground
bin/ekb_create
bin/ekb_delete
bin/ekb_ginsert
bin/ekb_insert
bin/epclextract
bin/eproof
bin/eproof_ram
bin/eprover
man/man1/checkproof.1.gz
man/man1/e_axfilter.1.gz
man/man1/e_deduction_server.1.gz
man/man1/e_ltb_runner.1.gz
man/man1/e_stratpar.1.gz
man/man1/eground.1.gz
man/man1/ekb_create.1.gz
man/man1/ekb_delete.1.gz
man/man1/ekb_ginsert.1.gz
man/man1/ekb_insert.1.gz
man/man1/epclextract.1.gz
man/man1/eproof.1.gz
man/man1/eproof_ram.1.gz
man/man1/eprover.1.gz

0 comments on commit b35d6c0

Please sign in to comment.