View | Details | Raw Unified | Return to bug 211454 | Differences between
and this patch

Collapse All | Expand All

(-)b/math/arpack-ng/Makefile (-10 / +19 lines)
Lines 2-22 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	arpack-ng
4
PORTNAME=	arpack-ng
5
PORTVERSION=	3.1.5
5
PORTVERSION=	3.4.0
6
PORTREVISION=	2
7
CATEGORIES=	math
6
CATEGORIES=	math
8
MASTER_SITES=	http://forge.scilab.org/index.php/p/arpack-ng/downloads/get/ \
7
MASTER_SITES=	GH
9
		LOCAL/bf
10
DISTNAME=	${PORTNAME}_${PORTVERSION}
11
8
12
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
13
COMMENT+=	Revised Argand library for solving large-scale eigenvalue problems
10
COMMENT+=	Revised Argand library for solving large-scale eigenvalue problems
14
11
15
LICENSE=	BSD3CLAUSE
12
LICENSE=	BSD3CLAUSE
16
13
17
USES=		fortran libtool
14
USES=		autoreconf:build fortran libtool
18
USE_LDCONFIG=	yes
15
USE_LDCONFIG=	yes
19
16
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	opencollab
19
20
CONFLICTS=	arpack-[0-9]*
20
CONFLICTS=	arpack-[0-9]*
21
SLAVEDIRS=	math/arpack-ng-mpich
21
SLAVEDIRS=	math/arpack-ng-mpich
22
22
Lines 28-40 LDFLAGS+= -L${LOCALBASE}/lib Link Here
28
28
29
WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
29
WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
30
30
31
OPTIONS_DEFINE=	DOCS MPI
31
OPTIONS_DEFINE=	DOCS MPI EXAMPLES
32
OPTIONS_SUB=	yes
32
OPTIONS_SUB=	yes
33
MPI_CONFIGURE_ENABLE=	mpi
33
MPI_CONFIGURE_ENABLE=	mpi
34
MPI_LIB_DEPENDS=	libmpich.so.8:net/mpich2
34
MPI_LIB_DEPENDS=	libmpich.so:net/mpich2
35
MPI_CONFLICTS_INSTALL+=		arpack-ng-3.*
35
MPI_CONFLICTS_INSTALL+=		arpack-ng-3.*
36
MPI_CONFLICTS_INSTALL_OFF+=	arpack-ng-mpich-3.*
36
MPI_CONFLICTS_INSTALL_OFF+=	arpack-ng-mpich-3.*
37
37
38
PORTEXAMPLES=	*
39
38
.include <bsd.port.pre.mk>
40
.include <bsd.port.pre.mk>
39
41
40
.if ${PORT_OPTIONS:MMPI}
42
.if ${PORT_OPTIONS:MMPI}
Lines 62-68 IGNORE= unknown value of WITH_BLAS: ${WITH_BLAS} Link Here
62
64
63
post-patch:
65
post-patch:
64
	@${REINPLACE_CMD} -Ee 's|\(libdir\)(/pkgconfig)|(prefix)/libdata\1|' \
66
	@${REINPLACE_CMD} -Ee 's|\(libdir\)(/pkgconfig)|(prefix)/libdata\1|' \
65
	${WRKSRC}/Makefile.in
67
	${WRKSRC}/Makefile.am
68
69
pre-configure:
70
	@cd ${WRKSRC}; ./bootstrap
66
	@${REINPLACE_CMD} -e '/BLAS_LIBS.*LAPACK_LIBS/ \
71
	@${REINPLACE_CMD} -e '/BLAS_LIBS.*LAPACK_LIBS/ \
67
	{s/LAPACK_LIBS/BLAS_LIBS/;s/BLAS_LIBS/LAPACK_LIBS/;}' \
72
	{s/LAPACK_LIBS/BLAS_LIBS/;s/BLAS_LIBS/LAPACK_LIBS/;}' \
68
	${WRKSRC}/Makefile.in \
73
	${WRKSRC}/Makefile.in \
Lines 70-76 post-patch: Link Here
70
	${WRKSRC}/TESTS/Makefile.in
75
	${WRKSRC}/TESTS/Makefile.in
71
76
72
post-build:
77
post-build:
73
	@cd ${WRKSRC}/.libs; ${STRIP_CMD} libarpack.a libarpack.so.*.*
78
	@cd ${WRKSRC}/SRC/.libs; ${STRIP_CMD} libarpack.so.*.*
74
79
75
post-install:
80
post-install:
76
.if ${PORT_OPTIONS:MDOCS}
81
.if ${PORT_OPTIONS:MDOCS}
Lines 78-83 post-install: Link Here
78
	@cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
83
	@cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
79
.endif
84
.endif
80
85
86
post-install-EXAMPLES-on:
87
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
88
	@cd ${WRKSRC}/EXAMPLES && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
89
81
check regression-test test: build
90
check regression-test test: build
82
	@cd ${WRKSRC}; ${DO_MAKE_BUILD} check
91
	@cd ${WRKSRC}; ${DO_MAKE_BUILD} check
83
92
(-)b/math/arpack-ng/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (arpack-ng_3.1.5.tar.gz) = a269ce7806bc77ced31ef794d23c3e3aff8543b65550fd7e3e24660f2a79d515
1
TIMESTAMP = 1469850136
2
SIZE (arpack-ng_3.1.5.tar.gz) = 1516406
2
SHA256 (opencollab-arpack-ng-3.4.0_GH0.tar.gz) = 69e9fa08bacb2475e636da05a6c222b17c67f1ebeab3793762062248dd9d842f
3
SIZE (opencollab-arpack-ng-3.4.0_GH0.tar.gz) = 942149
(-)b/math/arpack-ng/pkg-plist (-7 lines)
Lines 1-10 Link Here
1
%%MPI%%bin/pcndrv1
2
%%MPI%%bin/pdndrv1
3
%%MPI%%bin/pdndrv3
4
%%MPI%%bin/pdsdrv1
5
%%MPI%%bin/psndrv3
6
%%MPI%%bin/pssdrv1
7
%%MPI%%bin/pzndrv1
8
lib/libarpack.a
1
lib/libarpack.a
9
lib/libarpack.so
2
lib/libarpack.so
10
lib/libarpack.so.2
3
lib/libarpack.so.2

Return to bug 211454