1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update to 3.0.2

This commit is contained in:
Dmitry Sivachenko 2001-09-29 11:11:28 +00:00
parent 3185229515
commit 2b2d4cea6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48266
3 changed files with 23 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

@ -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