update glpk to 4.48 and adjust dependent ports

This commit is contained in:
Brendan Fabeny 2013-01-31 13:03:32 +00:00
parent ba21e5c6e0
commit 92ef61befd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311306
6 changed files with 23 additions and 39 deletions

View file

@ -1,12 +1,8 @@
# New ports collection makefile for: GLPK
# Date created: 16 December 2000
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= glpk
PORTVERSION= 4.47
PORTVERSION= 4.48
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= glpk
@ -18,8 +14,9 @@ LICENSE= GPLv3
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp
OPTIONS= IODBC "Enable MathProg iodbc support" Off \
MYSQL "Enable MathProg mysql support" Off
OPTIONS_DEFINE= IODBC MYSQL
IODBC_DESC= MathProg iodbc support
MYSQL_DESC= MathProg mysql support
GNU_CONFIGURE= yes
USE_GMAKE= yes
@ -30,22 +27,22 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-gmp
CONFLICTS= goblin-[0-9]*
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.ifdef(WITH_IODBC || WITH_MYSQL)
.if ${PORT_OPTIONS:MIODBC} || ${PORT_OPTIONS:MMYSQL}
CONFIGURE_ARGS+= --enable-dl=dlfcn
.else
CONFIGURE_ARGS+= --disable-dl
.endif
.ifdef(WITH_IODBC)
.if ${PORT_OPTIONS:MIODBC}
CONFIGURE_ARGS+= --enable-odbc
LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc
LIB_DEPENDS+= iodbc:${PORTSDIR}/databases/libiodbc
.else
CONFIGURE_ARGS+= --disable-odbc
.endif
.ifdef(WITH_MYSQL)
.if ${PORT_OPTIONS:MMYSQL}
CONFIGURE_ARGS+= --enable-mysql
USE_MYSQL= yes
.else
@ -56,7 +53,7 @@ post-patch:
@${REINPLACE_CMD} -e "s;\/usr\/include\/mysql;${LOCALBASE}\/include\/mysql;g" \
${WRKSRC}/configure
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
DOCS1= cnfsat.pdf glpk.pdf glpk_faq.txt gmpl.pdf graphs.pdf miplib2.txt \
miplib3.txt netlib.txt
DOCS2= dfeas.pdf gomory.pdf keller.pdf scaling.pdf updating.pdf
@ -72,4 +69,4 @@ post-install:
check regression-test test: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} check)
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (glpk-4.47.tar.gz) = c35438e3ba74a8d85236810e6b84879272c87cfa7473b4075201e2967839f48d
SIZE (glpk-4.47.tar.gz) = 3124974
SHA256 (glpk-4.48.tar.gz) = abc2c8f895b20a91cdfcfc04367a0bc8677daf8b4ec3f3e86c5b71c79ac6adb1
SIZE (glpk-4.48.tar.gz) = 3488482

View file

@ -3,4 +3,4 @@ include/glpk.h
lib/libglpk.a
lib/libglpk.la
lib/libglpk.so
lib/libglpk.so.32
lib/libglpk.so.33

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: octave
# Date created: 8 September 1998
# Whom: chuckr@freebsd.org
#
# Created by: chuckr@freebsd.org
# $FreeBSD$
#
PORTNAME= octave
PORTVERSION= 3.3.50
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= math
MASTER_SITES= ftp://ftp.octave.org/pub/octave/bleeding-edge/ \
ftp://ftp.eos.hokudai.ac.jp/pub/GNU/misc/octave/bleeding-edge/\
@ -24,7 +20,7 @@ BUILD_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot \
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
gsed:${PORTSDIR}/textproc/gsed
LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \
glpk.32:${PORTSDIR}/math/glpk \
glpk:${PORTSDIR}/math/glpk \
hdf5:${PORTSDIR}/science/hdf5 \
umfpack.1:${PORTSDIR}/math/suitesparse \
qhull.5:${PORTSDIR}/math/qhull5

View file

@ -1,13 +1,9 @@
# New ports collection makefile for: octave
# Date created: 8 September 1998
# Whom: chuckr@freebsd.org
#
# Created by: chuckr@freebsd.org
# $FreeBSD$
#
PORTNAME= octave
PORTVERSION= 3.6.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= math
MASTER_SITES= ftp://ftp.gnu.org/gnu/octave/ \
ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/bleeding-edge/
@ -35,7 +31,7 @@ LIB_DEPENDS= GraphicsMagick:${PORTSDIR}/graphics/GraphicsMagick \
qhull.5:${PORTSDIR}/math/qhull5 \
qrupdate:${PORTSDIR}/math/qrupdate \
umfpack.1:${PORTSDIR}/math/suitesparse \
glpk.32:${PORTSDIR}/math/glpk
glpk:${PORTSDIR}/math/glpk
USE_BZIP2= yes
USE_PERL5_BUILD=yes

View file

@ -1,14 +1,9 @@
# ex:ts=8
# Ports collection makefile for: GNUnet
# Date created: Mar 23, 2002
# Whom: ijliao
#
# Created by: ijliao
# $FreeBSD$
#
PORTNAME= gnunet
DISTVERSION= 0.9.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net-p2p ipv6 security
MASTER_SITES= GNU