summaryrefslogtreecommitdiffstats
path: root/math/glpk/Makefile
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2007-02-08 14:39:49 +0000
committerdemon <demon@FreeBSD.org>2007-02-08 14:39:49 +0000
commit965b0382d80da0662467344e6f17f9ab1fcde718 (patch)
treece215c5672144a2b8c98507e765f59d8b708fa29 /math/glpk/Makefile
parentd06d44a8bb21b6fa012a59617457be0378604630 (diff)
downloadFreeBSD-ports-965b0382d80da0662467344e6f17f9ab1fcde718.zip
FreeBSD-ports-965b0382d80da0662467344e6f17f9ab1fcde718.tar.gz
Update to 4.14.
PR: 108857 Submitted by: ijliao
Diffstat (limited to 'math/glpk/Makefile')
-rw-r--r--math/glpk/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/math/glpk/Makefile b/math/glpk/Makefile
index 45dbebd..08c687c 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)
OpenPOWER on IntegriCloud