aboutsummaryrefslogtreecommitdiffstats
path: root/math/glpk
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2001-09-29 19:11:28 +0800
committerdemon <demon@FreeBSD.org>2001-09-29 19:11:28 +0800
commit16930e846231e2ca2329113810deeb639aa570ee (patch)
tree58af90d017323aad16a3d59535921c99ecee19cc /math/glpk
parentad2997b686b645b2f5bc2621a2b9319cbd7501d4 (diff)
downloadfreebsd-ports-gnome-16930e846231e2ca2329113810deeb639aa570ee.tar.gz
freebsd-ports-gnome-16930e846231e2ca2329113810deeb639aa570ee.tar.zst
freebsd-ports-gnome-16930e846231e2ca2329113810deeb639aa570ee.zip
Update to 3.0.2
Diffstat (limited to 'math/glpk')
-rw-r--r--math/glpk/Makefile24
-rw-r--r--math/glpk/distinfo5
-rw-r--r--math/glpk/pkg-plist10
3 files changed, 23 insertions, 16 deletions
diff --git a/math/glpk/Makefile b/math/glpk/Makefile
index e71bde366692..8d1011dc1a7b 100644
--- a/math/glpk/Makefile
+++ b/math/glpk/Makefile
@@ -6,28 +6,36 @@
#
PORTNAME= glpk
-PORTVERSION= 3.0.1
+PORTVERSION= 3.0.2
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU} \
http://people.freebsd.org/~demon/distfiles/
MASTER_SITE_SUBDIR= glpk
-.if !defined(NOPORTDOCS)
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DOCFILES}
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-.endif
MAINTAINER= demon@FreeBSD.org
+.if !defined(NOPORTDOCS)
+BUILD_DEPENDS= texi2dvi:${PORTSDIR}/print/teTeX
+.endif
+
GNU_CONFIGURE= yes
-DOCFILES= glpk_lr-1.1.1.ps.gz glpk_sm.ps.gz glpk_ug-1.1.1.ps.gz
+DOCFILES= guide language libref simplex
+
+post-build:
+.if !defined(NOPORTDOCS)
+ for file in ${DOCFILES} ; do \
+ cd ${WRKSRC} && ${LOCALBASE}/bin/texi2dvi doc/$$file.texinfo ; \
+ ${LOCALBASE}/bin/dvips -o ${WRKSRC}/$$file.ps \
+ ${WRKSRC}/$$file.dvi ; \
+ done
+.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
for file in ${DOCFILES} ; do \
- ${INSTALL_DATA} ${DISTDIR}/$$file ${DOCSDIR} ; \
- ${GUNZIP_CMD} ${DOCSDIR}/$$file ; \
+ ${INSTALL_DATA} ${WRKSRC}/$$file.ps ${DOCSDIR} ; \
done
.endif
diff --git a/math/glpk/distinfo b/math/glpk/distinfo
index 3f4835680736..4044a44ef128 100644
--- a/math/glpk/distinfo
+++ b/math/glpk/distinfo
@@ -1,4 +1 @@
-MD5 (glpk-3.0.1.tar.gz) = 69b8e1d011c771d2a7826447c942aa87
-MD5 (glpk_lr-1.1.1.ps.gz) = 0a6be2872326b4f4a06d15f1b0ab6166
-MD5 (glpk_sm.ps.gz) = 2ebff1d9049ecbb95b5149f9691caf42
-MD5 (glpk_ug-1.1.1.ps.gz) = 52131f60de64d70d1f0f23e2587599ff
+MD5 (glpk-3.0.2.tar.gz) = 1b6394f6dd8df593ddd7e0a5e8ce64d3
diff --git a/math/glpk/pkg-plist b/math/glpk/pkg-plist
index f44cf5e5302b..34b3e3bb621f 100644
--- a/math/glpk/pkg-plist
+++ b/math/glpk/pkg-plist
@@ -4,8 +4,8 @@ include/glpavl.h
include/glpbbm.h
include/glpchol.h
include/glpduff.h
-include/glpefi.h
include/glpeta.h
+include/glpfhv.h
include/glpgel.h
include/glphbsm.h
include/glpimg.h
@@ -15,6 +15,7 @@ include/glplang.h
include/glplp.h
include/glpmat.h
include/glpmps.h
+include/glppfi.h
include/glpqmd.h
include/glprfi.h
include/glprsm.h
@@ -22,7 +23,8 @@ include/glpset.h
include/glpstr.h
include/glptext.h
lib/libglpk.a
-%%PORTDOCS%%share/doc/glpk/glpk_lr-1.1.1.ps
-%%PORTDOCS%%share/doc/glpk/glpk_ug-1.1.1.ps
-%%PORTDOCS%%share/doc/glpk/glpk_sm.ps
+%%PORTDOCS%%share/doc/glpk/guide.ps
+%%PORTDOCS%%share/doc/glpk/language.ps
+%%PORTDOCS%%share/doc/glpk/libref.ps
+%%PORTDOCS%%share/doc/glpk/simplex.ps
%%PORTDOCS%%@dirrm share/doc/glpk