aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-11-11 21:06:57 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-11-11 21:06:57 +0000
commit494e112bc697c1f57e5b48d9f19a30e9a3e9893d (patch)
tree70c35024cb9fcc45cd3581b26e4e169a9cc1d248 /math
parentfb62d0dc05e1739d60e2ae2f23d9e79ee309a688 (diff)
downloadports-494e112bc697c1f57e5b48d9f19a30e9a3e9893d.tar.gz
ports-494e112bc697c1f57e5b48d9f19a30e9a3e9893d.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/zimpl/Makefile5
-rw-r--r--math/zimpl/distinfo6
-rw-r--r--math/zimpl/files/patch-Makefile28
-rw-r--r--math/zimpl/pkg-descr2
4 files changed, 25 insertions, 16 deletions
diff --git a/math/zimpl/Makefile b/math/zimpl/Makefile
index 9c8b8d2ce7a3..b4ec17b4dba8 100644
--- a/math/zimpl/Makefile
+++ b/math/zimpl/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= zimpl
-DISTVERSION= 3.3.4
+DISTVERSION= 3.3.6
CATEGORIES= math
-MASTER_SITES= http://zimpl.zib.de/download/
+MASTER_SITES= https://zimpl.zib.de/download/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Language to translate the LP models into .lp or .mps
@@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= missing make/make.linux.$${arch}.gnu.opt for other architectures
+BUILD_DEPENDS= bison:devel/bison
LIB_DEPENDS= libgmp.so:math/gmp
USES= gmake localbase:ldflags tar:tgz
diff --git a/math/zimpl/distinfo b/math/zimpl/distinfo
index 8e687c596c22..53e0da227d2f 100644
--- a/math/zimpl/distinfo
+++ b/math/zimpl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1514229681
-SHA256 (zimpl-3.3.4.tgz) = 3362fb21524df459723d23f6e0c122ebdd684153a9cc991a2c7f5b2752a83eb2
-SIZE (zimpl-3.3.4.tgz) = 802251
+TIMESTAMP = 1541970033
+SHA256 (zimpl-3.3.6.tgz) = 1f3f0bc2b9710a87b04985d9f14cc1bc207add8b2e16a8b373cb540b8fbe1326
+SIZE (zimpl-3.3.6.tgz) = 746262
diff --git a/math/zimpl/files/patch-Makefile b/math/zimpl/files/patch-Makefile
index 55a9e8d801a0..7918014efbab 100644
--- a/math/zimpl/files/patch-Makefile
+++ b/math/zimpl/files/patch-Makefile
@@ -1,4 +1,4 @@
---- Makefile.orig 2017-03-07 17:20:10 UTC
+--- Makefile.orig 2018-11-11 21:01:50 UTC
+++ Makefile
@@ -26,7 +26,7 @@
#
@@ -17,16 +17,24 @@
-e s/cygwin.*/cygwin/ \
-e s/irix../irix/ \
-e s/windows.*/windows/ \
-@@ -76,7 +77,7 @@ SRCDIR = src
- BINDIR = bin
+@@ -77,11 +78,11 @@ BINDIR = bin
LIBDIR = lib
+ LINTCONF = /opt/pclint/config
--CPPFLAGS = -I$(SRCDIR) -DVERSION='"$(VERSION)"'
-+CPPFLAGS += -I$(SRCDIR) -DVERSION='"$(VERSION)"'
- CFLAGS = -O
- LDFLAGS = -lgmp -lm
- YFLAGS = -d -t -v
-@@ -102,10 +103,10 @@ ifeq ($(STATIC),true)
+-CPPFLAGS = -I$(SRCDIR)/.. -DVERSION='"$(VERSION)"'
+-CFLAGS = -O
+-LDFLAGS = -lgmp -lm
+-YFLAGS = -d -t -v
+-LFLAGS = -d
++CPPFLAGS += -I$(SRCDIR)/.. -DVERSION='"$(VERSION)"'
++CFLAGS += -O
++LDFLAGS += -lgmp -lm
++YFLAGS += -d -t -v
++LFLAGS += -d
+ ARFLAGS =
+ DFLAGS = -MM
+
+@@ -103,10 +104,10 @@ ifeq ($(STATIC),true)
LINK = static
endif
@@ -40,7 +48,7 @@
LIBNAME = $(NAME)-$(VERSION).$(BASE)
LIBRARY = $(LIBDIR)/lib$(LIBNAME)$(LIBEXT)
-@@ -140,7 +141,7 @@ OBJSRC = $(addprefix $(SRCDIR)/,$(OBJEC
+@@ -141,7 +142,7 @@ OBJSRC = $(addprefix $(SRCDIR)/,$(OBJEC
LIBSRC = $(addprefix $(SRCDIR)/,$(LIBOBJ:.o=.c)) #(SRCDIR)/numbdbl.c
#-----------------------------------------------------------------------------
diff --git a/math/zimpl/pkg-descr b/math/zimpl/pkg-descr
index 55b40f565931..ccf09211d9ba 100644
--- a/math/zimpl/pkg-descr
+++ b/math/zimpl/pkg-descr
@@ -3,4 +3,4 @@ into a linear or nonlinear (mixed-) integer mathematical program expressed
in .lp or .mps file format which can be read and (hopefully) solved by a LP
or MIP solver.
-WWW: http://zimpl.zib.de
+WWW: https://zimpl.zib.de