aboutsummaryrefslogtreecommitdiffstats
path: root/math/glpk
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2007-02-08 22:39:49 +0800
committerdemon <demon@FreeBSD.org>2007-02-08 22:39:49 +0800
commit965b0382d80da0662467344e6f17f9ab1fcde718 (patch)
treece215c5672144a2b8c98507e765f59d8b708fa29 /math/glpk
parentd06d44a8bb21b6fa012a59617457be0378604630 (diff)
downloadfreebsd-ports-gnome-965b0382d80da0662467344e6f17f9ab1fcde718.tar.gz
freebsd-ports-gnome-965b0382d80da0662467344e6f17f9ab1fcde718.tar.zst
freebsd-ports-gnome-965b0382d80da0662467344e6f17f9ab1fcde718.zip
Update to 4.14.
PR: 108857 Submitted by: ijliao
Diffstat (limited to 'math/glpk')
-rw-r--r--math/glpk/Makefile12
-rw-r--r--math/glpk/distinfo6
-rw-r--r--math/glpk/pkg-plist26
3 files changed, 13 insertions, 31 deletions
diff --git a/math/glpk/Makefile b/math/glpk/Makefile
index 45dbebd1ac4b..08c687c9f151 100644
--- a/math/glpk/Makefile
+++ b/math/glpk/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= glpk
-PORTVERSION= 4.10
+PORTVERSION= 4.14
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= glpk
@@ -14,11 +14,19 @@ MASTER_SITE_SUBDIR= glpk
MAINTAINER= demon@FreeBSD.org
COMMENT= A GNU Linear Programming Kit
+LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4
+
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
CFLAGS+= -trigraphs
-DOCFILES= lang.ps refman.ps bench.txt GLPK_FAQ.txt
+DOCFILES= lang.ps refman.ps bench.txt glpk_faq.txt
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
post-install:
.if !defined(NOPORTDOCS)
diff --git a/math/glpk/distinfo b/math/glpk/distinfo
index 63c3253df3ab..0301f3c40ea5 100644
--- a/math/glpk/distinfo
+++ b/math/glpk/distinfo
@@ -1,3 +1,3 @@
-MD5 (glpk-4.10.tar.gz) = a1ae21f2ddf2f71aa1af9385ebfd7b74
-SHA256 (glpk-4.10.tar.gz) = 4ab1fe89b8da3cf81210bfdaa2c04bcc0a4a93beb372602d8a891309db743d86
-SIZE (glpk-4.10.tar.gz) = 1034733
+MD5 (glpk-4.14.tar.gz) = 5f39433ac2973b66fa001856bd861c77
+SHA256 (glpk-4.14.tar.gz) = 80446c61f241271a8871c4e75c6d39e4e3c8fc08d832daeefa6f3076262e0159
+SIZE (glpk-4.14.tar.gz) = 1079105
diff --git a/math/glpk/pkg-plist b/math/glpk/pkg-plist
index 273ba0bb5033..ca37c6bd0939 100644
--- a/math/glpk/pkg-plist
+++ b/math/glpk/pkg-plist
@@ -1,30 +1,4 @@
bin/glpsol
bin/tspsol
-include/glpavl.h
-include/glpbfi.h
-include/glpdmp.h
-include/glphbm.h
-include/glpiet.h
-include/glpinv.h
-include/glpios.h
-include/glpipm.h
-include/glpipp.h
include/glpk.h
-include/glplib.h
-include/glplpp.h
-include/glplpx.h
-include/glpluf.h
-include/glpmat.h
-include/glpmip.h
-include/glpmpl.h
-include/glpqmd.h
-include/glprng.h
-include/glpspx.h
-include/glpstr.h
-include/glptsp.h
lib/libglpk.a
-%%PORTDOCS%%%%DOCSDIR%%/GLPK_FAQ.txt
-%%PORTDOCS%%%%DOCSDIR%%/bench.txt
-%%PORTDOCS%%%%DOCSDIR%%/lang.ps
-%%PORTDOCS%%%%DOCSDIR%%/refman.ps
-%%PORTDOCS%%@dirrm %%DOCSDIR%%