diff options
Diffstat (limited to 'math/glpk/Makefile')
-rw-r--r-- | math/glpk/Makefile | 12 |
1 files changed, 10 insertions, 2 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) |