aboutsummaryrefslogtreecommitdiff
path: root/math/glpk
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2001-09-29 11:11:28 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2001-09-29 11:11:28 +0000
commit2b2d4cea6f28c1c1d29731fdfb42c6b1d3a61376 (patch)
treee0f668587eed9c1976fafd0df2cb39a209221194 /math/glpk
parent3185229515e65a188ddac0c1b0683fb4baf428b0 (diff)
downloadports-2b2d4cea6f28c1c1d29731fdfb42c6b1d3a61376.tar.gz
ports-2b2d4cea6f28c1c1d29731fdfb42c6b1d3a61376.zip
Notes
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