diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2007-12-12 14:12:43 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2007-12-12 14:12:43 +0000 |
commit | 5f7109e9ef470cea593baeaa8bed7a3c6b52c5ca (patch) | |
tree | 1e16d7d45541e45c50fcb1362c1bb29005630325 /math/glpk | |
parent | 18b7e52869d39c6c4f95714e782e9d1c8ec9497a (diff) | |
download | ports-5f7109e9ef470cea593baeaa8bed7a3c6b52c5ca.tar.gz ports-5f7109e9ef470cea593baeaa8bed7a3c6b52c5ca.zip |
Notes
Diffstat (limited to 'math/glpk')
-rw-r--r-- | math/glpk/Makefile | 18 | ||||
-rw-r--r-- | math/glpk/distinfo | 6 | ||||
-rw-r--r-- | math/glpk/pkg-plist | 9 |
3 files changed, 21 insertions, 12 deletions
diff --git a/math/glpk/Makefile b/math/glpk/Makefile index 2608ab918c3e..289c28bd8533 100644 --- a/math/glpk/Makefile +++ b/math/glpk/Makefile @@ -6,7 +6,7 @@ # PORTNAME= glpk -PORTVERSION= 4.21 +PORTVERSION= 4.24 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= glpk @@ -23,11 +23,19 @@ USE_GMAKE= yes USE_LDCONFIG= yes CFLAGS+= -trigraphs +GMPL_H= glpavl.h glpdmp.h glplib.h glpmpl.h glprng.h glpstd.h +GMPLDIR= ${LOCALBASE}/include/gmpl + .if !defined(NOPORTDOCS) PORTDOCS= bench.txt bench1.txt glpk.ps glpk_faq.txt gmpl.ps opb.txt .endif post-install: + @${MKDIR} ${GMPLDIR} + for incfile in ${GMPL_H} ; do \ + ${INSTALL_DATA} ${WRKSRC}/include/$${incfile} ${GMPLDIR} ; \ + done + .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} for docfile in ${PORTDOCS} ; do \ @@ -35,10 +43,4 @@ post-install: done .endif -.include <bsd.port.pre.mk> - -.if ${ARCH} == "amd64" -CFLAGS+= -fPIC -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/math/glpk/distinfo b/math/glpk/distinfo index cb31eeb9988e..99025f7e99af 100644 --- a/math/glpk/distinfo +++ b/math/glpk/distinfo @@ -1,3 +1,3 @@ -MD5 (glpk-4.21.tar.gz) = a41df71415c97fc5c541d19547ced10a -SHA256 (glpk-4.21.tar.gz) = 3be04106ef18b1f92af9fe7936ecb675a04cabab72ff65e1a03bf2205d99d549 -SIZE (glpk-4.21.tar.gz) = 1413712 +MD5 (glpk-4.24.tar.gz) = 765dcecc20dc6b80362e65c755f41976 +SHA256 (glpk-4.24.tar.gz) = 23326c9dd21762159b6fa946e41e0e95d233c6e9f9a69134ef10e3541cd516c9 +SIZE (glpk-4.24.tar.gz) = 1449575 diff --git a/math/glpk/pkg-plist b/math/glpk/pkg-plist index 9f0ab524b042..68d08025673e 100644 --- a/math/glpk/pkg-plist +++ b/math/glpk/pkg-plist @@ -1,6 +1,13 @@ bin/glpsol include/glpk.h +include/gmpl/glpavl.h +include/gmpl/glpdmp.h +include/gmpl/glplib.h +include/gmpl/glpmpl.h +include/gmpl/glprng.h +include/gmpl/glpstd.h +@dirrm include/gmpl lib/libglpk.a lib/libglpk.la lib/libglpk.so -lib/libglpk.so.6 +lib/libglpk.so.9 |