aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2008-10-27 04:07:41 +0800
committerthierry <thierry@FreeBSD.org>2008-10-27 04:07:41 +0800
commitd7fa0709967b5ba4e74ab582c631a7aacde40540 (patch)
tree24d4bb7de54281553ccf7729dd26b2b3d6aa3f55
parent28e395861baf88cf01508bcdfc76af0c2a201a32 (diff)
downloadfreebsd-ports-gnome-d7fa0709967b5ba4e74ab582c631a7aacde40540.tar.gz
freebsd-ports-gnome-d7fa0709967b5ba4e74ab582c631a7aacde40540.tar.zst
freebsd-ports-gnome-d7fa0709967b5ba4e74ab582c631a7aacde40540.zip
Upgrade to 4.8.3.
Changelog at <http://graal.ens-lyon.fr/MUMPS/index.php?page=dwnld#cl>. Noticied by: Pedro F. Giffuni <giffunip (at) yahoo (dot) com>
-rw-r--r--math/mumps/Makefile24
-rw-r--r--math/mumps/distinfo6
-rw-r--r--math/mumps/pkg-plist24
3 files changed, 39 insertions, 15 deletions
diff --git a/math/mumps/Makefile b/math/mumps/Makefile
index b4e2db8c5af6..b1309efaba6b 100644
--- a/math/mumps/Makefile
+++ b/math/mumps/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mumps
-PORTVERSION= 4.7.3
+PORTVERSION= 4.8.3
CATEGORIES= math
MASTER_SITES= http://mumps.enseeiht.fr/ \
http://graal.ens-lyon.fr/MUMPS/ \
@@ -94,21 +94,22 @@ post-patch:
.endif
pre-build:
- @${DIRNAME} `${FC} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
- @${REINPLACE_CMD} -e 's+@CC@+${CC}+g ; s+@FC@+${FC}+g ; \
+ ${DIRNAME} `${FC} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
+ ${REINPLACE_CMD} -e 's+@CC@+${CC}+g ; s+@FC@+${FC}+g ; \
s+@CFLAGS@+${CFLAGS}+g; \
s+@FCFLAGS@+${FCFLAGS}+g; \
s+@GCCLIBDIR@+${GCCLIBDIR}+g; \
s+@FORTRANLIBS@+${FORTRANLIBS}+g; \
s+@PTHREAD_LIBS@+${PTHREAD_LIBS}+g; \
s+@BLAS_LIBS@+${BLAS_LIBS}+ ; \
+ s+../PORD+${WRKSRC}/PORD+; \
s+@LOCALBASE@+${LOCALBASE}+g;' \
${WRKSRC}/Makefile.inc
.ifdef WITH_MPI
- @${REINPLACE_CMD} -e 's+@LAPACK_LIBS@+${LAPACK_LIBS}+g;' ${WRKSRC}/Makefile.inc
+ ${REINPLACE_CMD} -e 's+@LAPACK_LIBS@+${LAPACK_LIBS}+g;' ${WRKSRC}/Makefile.inc
.endif
.ifdef WITH_METIS
- @${REINPLACE_CMD} -e 's+#LMETIS+LMETIS+' ${WRKSRC}/Makefile.inc
+ ${REINPLACE_CMD} -e 's+#LMETIS+LMETIS+' ${WRKSRC}/Makefile.inc
.endif
do-install:
@@ -123,6 +124,15 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/userguide_${PORTVERSION}.ps ${DOCSDIR}
${GZIP_CMD} ${DOCSDIR}/userguide_${PORTVERSION}.ps
.endif
+.ifndef NOPORTEXAMPLES
+ @${MKDIR} ${EXAMPLESDIR}
+. for ex in Makefile README *.c *.F input_simpletest_*
+ ${INSTALL_DATA} ${WRKSRC}/examples/${ex} ${EXAMPLESDIR}
+. endfor
+. for ex in c_example *simpletest
+ ${INSTALL_PROGRAM} ${WRKSRC}/examples/${ex} ${EXAMPLESDIR}
+. endfor
+.endif
.if defined(MAINTAINER_MODE)
regression-test:
@@ -133,7 +143,7 @@ regression-test:
@${ECHO_MSG} "${HOME}/.mpd.conf has been generated - please change the secret word!"
. endif
${LOCALBASE}/mpich2/bin/mpd &
- (cd ${WRKSRC}/test && \
+ (cd ${WRKSRC}/examples && \
${LOCALBASE}/mpich2/bin/mpirun -np 2 ./ssimpletest < input_simpletest_real ; \
${LOCALBASE}/mpich2/bin/mpirun -np 2 ./dsimpletest < input_simpletest_real ; \
${LOCALBASE}/mpich2/bin/mpirun -np 2 ./csimpletest < input_simpletest_cmplx ; \
@@ -143,7 +153,7 @@ regression-test:
${ECHO_MSG} "The solution should be (1,2)")
${LOCALBASE}/mpich2/bin/mpdallexit
. else
- (cd ${WRKSRC}/test && \
+ (cd ${WRKSRC}/examples && \
./ssimpletest < input_simpletest_real ; \
./dsimpletest < input_simpletest_real ; \
./csimpletest < input_simpletest_cmplx ; \
diff --git a/math/mumps/distinfo b/math/mumps/distinfo
index f14ff9eb6e7a..472e829c7229 100644
--- a/math/mumps/distinfo
+++ b/math/mumps/distinfo
@@ -1,3 +1,3 @@
-MD5 (MUMPS_4.7.3.tar.gz) = 6210446ae93f3d77751945cbbaccacc1
-SHA256 (MUMPS_4.7.3.tar.gz) = b3ad73f06c4af931f12cccda8556a25051073ba7d70b041b888316e975807d67
-SIZE (MUMPS_4.7.3.tar.gz) = 2110805
+MD5 (MUMPS_4.8.3.tar.gz) = db34f11bbe0f7c461cabebb230f23c23
+SHA256 (MUMPS_4.8.3.tar.gz) = f82c990acec0479764c1c2a446c83da97ffcbab0725db2da5aa2cbd53207fd6a
+SIZE (MUMPS_4.8.3.tar.gz) = 1999766
diff --git a/math/mumps/pkg-plist b/math/mumps/pkg-plist
index 062fa0fdba79..13360d7f3e72 100644
--- a/math/mumps/pkg-plist
+++ b/math/mumps/pkg-plist
@@ -1,25 +1,39 @@
include/cmumps_c.h
-include/cmumps_prec.h
include/cmumps_root.h
include/cmumps_struc.h
include/dmumps_c.h
-include/dmumps_prec.h
include/dmumps_root.h
include/dmumps_struc.h
+include/mumps_c_types.h
+include/mumps_compat.h
include/smumps_c.h
-include/smumps_prec.h
include/smumps_root.h
include/smumps_struc.h
include/zmumps_c.h
-include/zmumps_prec.h
include/zmumps_root.h
include/zmumps_struc.h
lib/libcmumps.a
lib/libdmumps.a
+lib/libmumps_common.a
+lib/libpord.a
lib/libsmumps.a
lib/libzmumps.a
-lib/libpord.a
%%WITH_LIBSEQ%%lib/libmpiseq.a
%%PORTDOCS%%%%DOCSDIR%%/userguide_%%MUMPSVERSION%%.pdf
%%PORTDOCS%%%%DOCSDIR%%/userguide_%%MUMPSVERSION%%.ps.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c_example
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c_example.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/csimpletest
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/csimpletest.F
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dsimpletest
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dsimpletest.F
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/input_simpletest_cmplx
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/input_simpletest_real
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssimpletest
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssimpletest.F
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zsimpletest
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zsimpletest.F
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%