1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

math/arpack-ng: Install headers

As it turned out, --enable-icb triggers the build to install the headers.
Also properly strip the libraries.
This commit is contained in:
Yuri Victorovich 2018-10-06 04:16:10 +00:00
parent f752293983
commit 30c1eda7b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=481314
2 changed files with 13 additions and 8 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= arpack-ng
DISTVERSION= 3.6.3
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
@ -20,7 +21,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-blas="${BLAS}" \
--with-lapack="${LAPACK}" \
--enable-mpi \
--disable-static
--disable-static \
--enable-icb
LDFLAGS+= -L${LOCALBASE}/lib
TEST_TARGET= check
USE_LDCONFIG= yes
@ -52,8 +54,7 @@ IGNORE= unknown value of WITH_BLAS: ${WITH_BLAS}
.endif
post-patch:
@${REINPLACE_CMD} -Ee 's|\(libdir\)(/pkgconfig)|(prefix)/libdata\1|' \
${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -Ee 's|\(libdir\)(/pkgconfig)|(prefix)/libdata\1|' ${WRKSRC}/Makefile.am
pre-configure:
@cd ${WRKSRC}; ./bootstrap
@ -63,11 +64,8 @@ pre-configure:
${WRKSRC}/arpack.pc.in \
${WRKSRC}/TESTS/Makefile.in
post-build:
@cd ${WRKSRC}/SRC/.libs; ${STRIP_CMD} libarpack.so.*.*
post-install:
${INSTALL_DATA} ${WRKSRC}/arpack.h ${STAGEDIR}${PREFIX}/include
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*arpack.so.*.*
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -1,6 +1,13 @@
include/arpack.h
include/arpack/arpack.h
include/arpack/arpack.hpp
include/arpack/debug.h
include/arpack/debug_c.h
include/arpack/debug_c.hpp
include/arpack/parpack.h
include/arpack/parpack.hpp
include/arpack/stat.h
include/arpack/stat_c.h
include/arpack/stat_c.hpp
lib/libarpack.so
lib/libarpack.so.2
lib/libarpack.so.2.0.0