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%%