diff options
author | yuri <yuri@FreeBSD.org> | 2018-10-06 12:16:10 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2018-10-06 12:16:10 +0800 |
commit | 08a744d1633bfae857a70680c9d1e4c6e642b634 (patch) | |
tree | 2a9622df2baaafa44dc3b057abfe18301eb9ebd8 /math | |
parent | 684da05db2711acb342f581f463b6c7f4b15f5af (diff) | |
download | freebsd-ports-gnome-08a744d1633bfae857a70680c9d1e4c6e642b634.tar.gz freebsd-ports-gnome-08a744d1633bfae857a70680c9d1e4c6e642b634.tar.zst freebsd-ports-gnome-08a744d1633bfae857a70680c9d1e4c6e642b634.zip |
math/arpack-ng: Install headers
As it turned out, --enable-icb triggers the build to install the headers.
Also properly strip the libraries.
Diffstat (limited to 'math')
-rw-r--r-- | math/arpack-ng/Makefile | 12 | ||||
-rw-r--r-- | math/arpack-ng/pkg-plist | 9 |
2 files changed, 13 insertions, 8 deletions
diff --git a/math/arpack-ng/Makefile b/math/arpack-ng/Makefile index b6c2026b1a5a..541168a8102d 100644 --- a/math/arpack-ng/Makefile +++ b/math/arpack-ng/Makefile @@ -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} diff --git a/math/arpack-ng/pkg-plist b/math/arpack-ng/pkg-plist index 6f4f715ae5aa..66b739c15332 100644 --- a/math/arpack-ng/pkg-plist +++ b/math/arpack-ng/pkg-plist @@ -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 |