aboutsummaryrefslogtreecommitdiff
path: root/math/arpack-ng
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2014-07-02 02:09:11 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2014-07-02 02:09:11 +0000
commit94320d61c63895dec8c5c82df116e664ed3accec (patch)
tree0d920e0971d17bf5386994cec4f3c5b8ce946f60 /math/arpack-ng
parent536a8fa505b45851dbab3199c165b9ad464747b5 (diff)
downloadports-94320d61c63895dec8c5c82df116e664ed3accec.tar.gz
ports-94320d61c63895dec8c5c82df116e664ed3accec.zip
Update to 3.1.5; use staging and libtool fixes; strip;
remove examples; run the full test suite
Notes
Notes: svn path=/head/; revision=360126
Diffstat (limited to 'math/arpack-ng')
-rw-r--r--math/arpack-ng/Makefile31
-rw-r--r--math/arpack-ng/distinfo4
2 files changed, 12 insertions, 23 deletions
diff --git a/math/arpack-ng/Makefile b/math/arpack-ng/Makefile
index e856d145c3ca..64e6c525226d 100644
--- a/math/arpack-ng/Makefile
+++ b/math/arpack-ng/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= arpack-ng
-PORTVERSION= 3.1.4
-PORTREVISION= 1
+PORTVERSION= 3.1.5
CATEGORIES= math
MASTER_SITES= http://forge.scilab.org/index.php/p/arpack-ng/downloads/get/ \
LOCAL/bf
@@ -14,7 +13,7 @@ COMMENT= Revised Argand library for solving large-scale eigenvalue problems
LICENSE= BSD
-USES= fortran
+USES= fortran libtool
USE_LDCONFIG= yes
CONFLICTS= arpack-[0-9]*
@@ -25,27 +24,20 @@ CONFIGURE_ARGS = --disable-mpi --with-blas="${BLAS}" \
--with-lapack="${LAPACK}"
LDFLAGS+= -L${LOCALBASE}/lib
-PLIST_FILES= bin/bug_1323 \
- bin/dnsimp \
- lib/libarpack.a \
- lib/libarpack.la \
+PLIST_FILES= lib/libarpack.a \
lib/libarpack.so \
lib/libarpack.so.2 \
+ lib/libarpack.so.2.0.0 \
libdata/pkgconfig/arpack.pc
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-PORTEXAMPLES= *
-.endif
-
WITH_BLAS?= blas
.if ${WITH_BLAS} == "gotoblas"
@@ -74,19 +66,16 @@ post-patch:
${WRKSRC}/arpack.pc.in \
${WRKSRC}/TESTS/Makefile.in
+post-build:
+ @cd ${WRKSRC}/.libs; ${STRIP_CMD} libarpack.a libarpack.so.*.*
+
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} \* ${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @cd ${WRKSRC}/EXAMPLES && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
.endif
check regression-test test: build
- @cd ${WRKSRC}/TESTS ; \
- ${SETENV} LD_LIBRARY_PATH="${WRKSRC}/.libs:/lib:${LOCALBASE}/lib" \
- ./dnsimp
+ @cd ${WRKSRC}; ${DO_MAKE_BUILD} check
.include <bsd.port.post.mk>
diff --git a/math/arpack-ng/distinfo b/math/arpack-ng/distinfo
index 46ff4bfd5a54..e390a0b7f1ea 100644
--- a/math/arpack-ng/distinfo
+++ b/math/arpack-ng/distinfo
@@ -1,2 +1,2 @@
-SHA256 (arpack-ng_3.1.4.tar.gz) = a1b2ca4c30f7027b56f94d42e646df4762944486790da66ce8ffbad386c78c54
-SIZE (arpack-ng_3.1.4.tar.gz) = 1339119
+SHA256 (arpack-ng_3.1.5.tar.gz) = a269ce7806bc77ced31ef794d23c3e3aff8543b65550fd7e3e24660f2a79d515
+SIZE (arpack-ng_3.1.5.tar.gz) = 1516406