1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

Update to 3.1.5; use staging and libtool fixes; strip;

remove examples; run the full test suite
This commit is contained in:
Brendan Fabeny 2014-07-02 02:09:11 +00:00
parent 536a8fa505
commit 94320d61c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360126
2 changed files with 12 additions and 23 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= arpack-ng PORTNAME= arpack-ng
PORTVERSION= 3.1.4 PORTVERSION= 3.1.5
PORTREVISION= 1
CATEGORIES= math CATEGORIES= math
MASTER_SITES= http://forge.scilab.org/index.php/p/arpack-ng/downloads/get/ \ MASTER_SITES= http://forge.scilab.org/index.php/p/arpack-ng/downloads/get/ \
LOCAL/bf LOCAL/bf
@ -14,7 +13,7 @@ COMMENT= Revised Argand library for solving large-scale eigenvalue problems
LICENSE= BSD LICENSE= BSD
USES= fortran USES= fortran libtool
USE_LDCONFIG= yes USE_LDCONFIG= yes
CONFLICTS= arpack-[0-9]* CONFLICTS= arpack-[0-9]*
@ -25,27 +24,20 @@ CONFIGURE_ARGS = --disable-mpi --with-blas="${BLAS}" \
--with-lapack="${LAPACK}" --with-lapack="${LAPACK}"
LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/bug_1323 \ PLIST_FILES= lib/libarpack.a \
bin/dnsimp \
lib/libarpack.a \
lib/libarpack.la \
lib/libarpack.so \ lib/libarpack.so \
lib/libarpack.so.2 \ lib/libarpack.so.2 \
lib/libarpack.so.2.0.0 \
libdata/pkgconfig/arpack.pc libdata/pkgconfig/arpack.pc
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_STAGE= yes
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOCS}
PORTDOCS= * PORTDOCS= *
.endif .endif
.if ${PORT_OPTIONS:MEXAMPLES}
PORTEXAMPLES= *
.endif
WITH_BLAS?= blas WITH_BLAS?= blas
.if ${WITH_BLAS} == "gotoblas" .if ${WITH_BLAS} == "gotoblas"
@ -74,19 +66,16 @@ post-patch:
${WRKSRC}/arpack.pc.in \ ${WRKSRC}/arpack.pc.in \
${WRKSRC}/TESTS/Makefile.in ${WRKSRC}/TESTS/Makefile.in
post-build:
@cd ${WRKSRC}/.libs; ${STRIP_CMD} libarpack.a libarpack.so.*.*
post-install: post-install:
.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} \* ${DOCSDIR} @cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
@cd ${WRKSRC}/EXAMPLES && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
.endif .endif
check regression-test test: build check regression-test test: build
@cd ${WRKSRC}/TESTS ; \ @cd ${WRKSRC}; ${DO_MAKE_BUILD} check
${SETENV} LD_LIBRARY_PATH="${WRKSRC}/.libs:/lib:${LOCALBASE}/lib" \
./dnsimp
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (arpack-ng_3.1.4.tar.gz) = a1b2ca4c30f7027b56f94d42e646df4762944486790da66ce8ffbad386c78c54 SHA256 (arpack-ng_3.1.5.tar.gz) = a269ce7806bc77ced31ef794d23c3e3aff8543b65550fd7e3e24660f2a79d515
SIZE (arpack-ng_3.1.4.tar.gz) = 1339119 SIZE (arpack-ng_3.1.5.tar.gz) = 1516406