Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2018 04:16:11 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481314 - head/math/arpack-ng
Message-ID:  <201810060416.w964GBSA036528@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Oct  6 04:16:10 2018
New Revision: 481314
URL: https://svnweb.freebsd.org/changeset/ports/481314

Log:
  math/arpack-ng: Install headers
  
  As it turned out, --enable-icb triggers the build to install the headers.
  Also properly strip the libraries.

Modified:
  head/math/arpack-ng/Makefile
  head/math/arpack-ng/pkg-plist

Modified: head/math/arpack-ng/Makefile
==============================================================================
--- head/math/arpack-ng/Makefile	Sat Oct  6 04:12:12 2018	(r481313)
+++ head/math/arpack-ng/Makefile	Sat Oct  6 04:16:10 2018	(r481314)
@@ -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}

Modified: head/math/arpack-ng/pkg-plist
==============================================================================
--- head/math/arpack-ng/pkg-plist	Sat Oct  6 04:12:12 2018	(r481313)
+++ head/math/arpack-ng/pkg-plist	Sat Oct  6 04:16:10 2018	(r481314)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810060416.w964GBSA036528>