mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
math/suitesparse*: force PORTNAME in lowercase
Force PORTNAME in lowercase, even if upstream uses uppercases. Requested by: sunpoet@ and danfe@
This commit is contained in:
parent
7f2f962b4a
commit
38e42a5646
19 changed files with 83 additions and 73 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= AMD
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 2.4.6
|
PORTVERSION= 2.4.6
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ LICENSE= BSD3CLAUSE
|
||||||
USES= fortran localbase:ldflags
|
USES= fortran localbase:ldflags
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
MPORTNAME= AMD
|
||||||
ALL_TARGET+= fortran
|
ALL_TARGET+= fortran
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= BTF
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 1.2.6
|
PORTVERSION= 1.2.6
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ LICENSE= LGPL21+
|
||||||
USES= localbase:ldflags
|
USES= localbase:ldflags
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
MPORTNAME= BTF
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= CAMD
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 2.4.6
|
PORTVERSION= 2.4.6
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ LICENSE= BSD3CLAUSE
|
||||||
USES= localbase:ldflags
|
USES= localbase:ldflags
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
MPORTNAME= CAMD
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= CCOLAMD
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 2.9.6
|
PORTVERSION= 2.9.6
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ LICENSE= BSD3CLAUSE
|
||||||
USES= localbase:ldflags
|
USES= localbase:ldflags
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
MPORTNAME= CCOLAMD
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= CHOLMOD
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 3.0.14
|
PORTVERSION= 3.0.14
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -17,7 +17,8 @@ LIB_DEPENDS= libmetis.so:math/metis \
|
||||||
USES= localbase:ldflags
|
USES= localbase:ldflags
|
||||||
BLAS_NEEDED= yes
|
BLAS_NEEDED= yes
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
|
||||||
|
MPORTNAME= CHOLMOD
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= COLAMD
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 2.9.6
|
PORTVERSION= 2.9.6
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ LICENSE= BSD3CLAUSE
|
||||||
USES= localbase:ldflags
|
USES= localbase:ldflags
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
MPORTNAME= COLAMD
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= config
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= ${SSPVERSION}
|
PORTVERSION= ${SSPVERSION}
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ LICENSE= GPLv2+
|
||||||
|
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKSRC}/SuiteSparse_config
|
MPORTNAME= config
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= CSparse
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 3.2.0
|
PORTVERSION= 3.2.0
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ LICENSE= LGPL21+
|
||||||
|
|
||||||
USES= localbase:ldflags
|
USES= localbase:ldflags
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
MPORTNAME= CSparse
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
PLIST_FILES= # empty
|
PLIST_FILES= # empty
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= CXSparse
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 3.2.0
|
PORTVERSION= 3.2.0
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ LICENSE= LGPL21+
|
||||||
USES= localbase:ldflags
|
USES= localbase:ldflags
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
MPORTNAME= CXSparse
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= GraphBLAS
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 5.0.5
|
PORTVERSION= 5.0.5
|
||||||
PORTREVISION= 1
|
PORTREVISION= 1
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
@ -11,7 +11,8 @@ LICENSE= APACHE20
|
||||||
|
|
||||||
USES= cmake:insource localbase:ldflags
|
USES= cmake:insource localbase:ldflags
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
|
||||||
|
MPORTNAME= GraphBLAS
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
PORTDOCS= CSC20_OpenMP_GraphBLAS.pdf GraphBLAS_API_C_v13.pdf \
|
PORTDOCS= CSC20_OpenMP_GraphBLAS.pdf GraphBLAS_API_C_v13.pdf \
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= KLU
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 1.3.9
|
PORTVERSION= 1.3.9
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -18,7 +18,8 @@ LIB_DEPENDS= libmetis.so:math/metis \
|
||||||
|
|
||||||
USES= localbase:ldflags
|
USES= localbase:ldflags
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
|
||||||
|
MPORTNAME= KLU
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= LDL
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 2.2.6
|
PORTVERSION= 2.2.6
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -12,7 +12,8 @@ LIB_DEPENDS= libamd.so:math/suitesparse-amd
|
||||||
|
|
||||||
USES= localbase:ldflags
|
USES= localbase:ldflags
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
|
||||||
|
MPORTNAME= LDL
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= Mongoose
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 2.0.4
|
PORTVERSION= 2.0.4
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ LICENSE= GPLv3
|
||||||
|
|
||||||
USES= cmake:insource localbase:ldflags
|
USES= cmake:insource localbase:ldflags
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
MPORTNAME= Mongoose
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
CONFLICTS_INSTALL= mongoose # bin/mongoose
|
CONFLICTS_INSTALL= mongoose # bin/mongoose
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= RBio
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 2.2.6
|
PORTVERSION= 2.2.6
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ LICENSE= GPLv2+
|
||||||
|
|
||||||
USES= localbase:ldflags
|
USES= localbase:ldflags
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
MPORTNAME= RBio
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= SLIP_LU
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 1.0.2
|
PORTVERSION= 1.0.2
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ LIB_DEPENDS= libgmp.so:math/gmp \
|
||||||
USES= localbase:ldflags
|
USES= localbase:ldflags
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
MPORTNAME= SLIP_LU
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= SPQR
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 2.0.9
|
PORTVERSION= 2.0.9
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -15,12 +15,12 @@ LIB_DEPENDS= libamd.so:math/suitesparse-amd \
|
||||||
libcholmod.so:math/suitesparse-cholmod
|
libcholmod.so:math/suitesparse-cholmod
|
||||||
|
|
||||||
USES= localbase:ldflags
|
USES= localbase:ldflags
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
|
||||||
USE_LDCONFIG= yes
|
|
||||||
BLAS_NEEDED= yes
|
BLAS_NEEDED= yes
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
|
|
||||||
|
MPORTNAME= SPQR
|
||||||
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
# See https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/72 and PR 252651
|
# See https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/72 and PR 252651
|
||||||
#OPTIONS_DEFINE+= TBB
|
#OPTIONS_DEFINE+= TBB
|
||||||
#OPTIONS_DEFAULT+= TBB
|
#OPTIONS_DEFAULT+= TBB
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
||||||
|
|
||||||
PORTNAME= UMFPACK
|
PORTNAME= ${MPORTNAME:tl}
|
||||||
PORTVERSION= 5.7.9
|
PORTVERSION= 5.7.9
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ USES= localbase:ldflags
|
||||||
BLAS_NEEDED= yes
|
BLAS_NEEDED= yes
|
||||||
OMP_NEEDED= yes
|
OMP_NEEDED= yes
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
MPORTNAME= UMFPACK
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
.include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk"
|
||||||
|
|
|
@ -9,23 +9,23 @@ COMMENT= Set of packages for sparse matrix calculation
|
||||||
|
|
||||||
LICENSE= GPLv2+
|
LICENSE= GPLv2+
|
||||||
|
|
||||||
RUN_DEPENDS= suitesparse-AMD>0:math/suitesparse-amd \
|
RUN_DEPENDS= suitesparse-amd>0:math/suitesparse-amd \
|
||||||
suitesparse-BTF>0:math/suitesparse-btf \
|
suitesparse-btf>0:math/suitesparse-btf \
|
||||||
suitesparse-CCOLAMD>0:math/suitesparse-ccolamd \
|
suitesparse-ccolamd>0:math/suitesparse-ccolamd \
|
||||||
suitesparse-CHOLMOD>0:math/suitesparse-cholmod \
|
suitesparse-cholmod>0:math/suitesparse-cholmod \
|
||||||
suitesparse-COLAMD>0:math/suitesparse-colamd \
|
suitesparse-colamd>0:math/suitesparse-colamd \
|
||||||
suitesparse-config>0:math/suitesparse-config \
|
suitesparse-config>0:math/suitesparse-config \
|
||||||
suitesparse-CXSparse>0:math/suitesparse-cxsparse \
|
suitesparse-cxsparse>0:math/suitesparse-cxsparse \
|
||||||
suitesparse-GraphBLAS>0:math/suitesparse-graphblas \
|
suitesparse-graphblas>0:math/suitesparse-graphblas \
|
||||||
suitesparse-KLU>0:math/suitesparse-klu \
|
suitesparse-klu>0:math/suitesparse-klu \
|
||||||
suitesparse-LDL>0:math/suitesparse-ldl \
|
suitesparse-ldl>0:math/suitesparse-ldl \
|
||||||
suitesparse-Mongoose>0:math/suitesparse-mongoose \
|
suitesparse-mongoose>0:math/suitesparse-mongoose \
|
||||||
suitesparse-RBio>0:math/suitesparse-rbio \
|
suitesparse-rbio>0:math/suitesparse-rbio \
|
||||||
suitesparse-SLIP_LU>0:math/suitesparse-slip_lu \
|
suitesparse-slip_lu>0:math/suitesparse-slip_lu \
|
||||||
suitesparse-SPQR>0:math/suitesparse-spqr \
|
suitesparse-spqr>0:math/suitesparse-spqr \
|
||||||
suitesparse-UMFPACK>0:math/suitesparse-umfpack
|
suitesparse-umfpack>0:math/suitesparse-umfpack
|
||||||
.if !defined(PACKAGE_BUILDING)
|
.if !defined(PACKAGE_BUILDING)
|
||||||
RUN_DEPENDS+= suitesparse-CSparse>0:math/suitesparse-csparse
|
RUN_DEPENDS+= suitesparse-csparse>0:math/suitesparse-csparse
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
USES= metaport
|
USES= metaport
|
||||||
|
|
|
@ -18,14 +18,20 @@ DISTNAME= ${DISTVERSIONPREFIX}${SSPVERSION}
|
||||||
DIST_SUBDIR= ${SSPNAME}
|
DIST_SUBDIR= ${SSPNAME}
|
||||||
WRKSRC= ${WRKDIR}/${GH_PROJECT}-${SSPVERSION}
|
WRKSRC= ${WRKDIR}/${GH_PROJECT}-${SSPVERSION}
|
||||||
|
|
||||||
.if ${PORTNAME} != config && \
|
.if ${MPORTNAME} != config
|
||||||
${PORTNAME} != CSparse && \
|
BUILD_WRKSRC= ${WRKSRC}/${MPORTNAME}
|
||||||
${PORTNAME} != ssget
|
.else
|
||||||
|
BUILD_WRKSRC= ${WRKSRC}/SuiteSparse_config
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${MPORTNAME} != config && \
|
||||||
|
${MPORTNAME} != CSparse && \
|
||||||
|
${MPORTNAME} != ssget
|
||||||
LIB_DEPENDS+= libsuitesparseconfig.so:math/suitesparse-config
|
LIB_DEPENDS+= libsuitesparseconfig.so:math/suitesparse-config
|
||||||
.endif
|
.endif
|
||||||
.if ${PORTNAME} != config && \
|
.if ${MPORTNAME} != config && \
|
||||||
${PORTNAME} != BTF && \
|
${MPORTNAME} != BTF && \
|
||||||
${PORTNAME} != ssget
|
${MPORTNAME} != ssget
|
||||||
OPTIONS_DEFINE+=DEMOS
|
OPTIONS_DEFINE+=DEMOS
|
||||||
.else
|
.else
|
||||||
ALL_TARGET= library
|
ALL_TARGET= library
|
||||||
|
@ -80,7 +86,7 @@ OPENMP_VARS= OPENMP=gcc-
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
DEMOS_DESC= Build the demonstrations
|
DEMOS_DESC= Build the demonstrations
|
||||||
.if ${PORTNAME} == Mongoose
|
.if ${MPORTNAME} == Mongoose
|
||||||
DEMOS_ALL_TARGET= default
|
DEMOS_ALL_TARGET= default
|
||||||
.else
|
.else
|
||||||
DEMOS_ALL_TARGET= all
|
DEMOS_ALL_TARGET= all
|
||||||
|
@ -95,20 +101,20 @@ LDFLAGS+= -s
|
||||||
post-extract:
|
post-extract:
|
||||||
${RM} -r ${WRKSRC}/metis-*
|
${RM} -r ${WRKSRC}/metis-*
|
||||||
|
|
||||||
.if ${PORTNAME} == AMD || \
|
.if ${MPORTNAME} == AMD || \
|
||||||
${PORTNAME} == CAMD || \
|
${MPORTNAME} == CAMD || \
|
||||||
${PORTNAME} == CCOLAMD || \
|
${MPORTNAME} == CCOLAMD || \
|
||||||
${PORTNAME} == CHOLMOD || \
|
${MPORTNAME} == CHOLMOD || \
|
||||||
${PORTNAME} == COLAMD || \
|
${MPORTNAME} == COLAMD || \
|
||||||
${PORTNAME} == CSparse || \
|
${MPORTNAME} == CSparse || \
|
||||||
${PORTNAME} == CXSparse_newfiles || \
|
${MPORTNAME} == CXSparse_newfiles || \
|
||||||
${PORTNAME} == CXSparse || \
|
${MPORTNAME} == CXSparse || \
|
||||||
${PORTNAME} == GPUQREngine || \
|
${MPORTNAME} == GPUQREngine || \
|
||||||
${PORTNAME} == KLU || \
|
${MPORTNAME} == KLU || \
|
||||||
${PORTNAME} == LDL || \
|
${MPORTNAME} == LDL || \
|
||||||
${PORTNAME} == RBio || \
|
${MPORTNAME} == RBio || \
|
||||||
${PORTNAME} == SPQR || \
|
${MPORTNAME} == SPQR || \
|
||||||
${PORTNAME} == UMFPACK
|
${MPORTNAME} == UMFPACK
|
||||||
pre-configure:
|
pre-configure:
|
||||||
${REINPLACE_CMD} -e 's|-I../../include|-I${STAGEDIR}${PREFIX}/include/suitesparse -I../../SuiteSparse_config -I../../AMD/Include -I../../COLAMD/Include -I../../BTF/Include -I../../CHOLMOD/Include|;\
|
${REINPLACE_CMD} -e 's|-I../../include|-I${STAGEDIR}${PREFIX}/include/suitesparse -I../../SuiteSparse_config -I../../AMD/Include -I../../COLAMD/Include -I../../BTF/Include -I../../CHOLMOD/Include|;\
|
||||||
s|-lsuitesparseconfig|-lsuitesparseconfig -L${LOCALBASE}/lib|' \
|
s|-lsuitesparseconfig|-lsuitesparseconfig -L${LOCALBASE}/lib|' \
|
||||||
|
@ -118,7 +124,7 @@ pre-configure:
|
||||||
do-configure: # skip USES=cmake
|
do-configure: # skip USES=cmake
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if ! ${PORTNAME} == config
|
.if ! ${MPORTNAME} == config
|
||||||
@${RM} ${STAGEDIR}${DOCSDIR}/SUITESPARSECONFIG_README.txt \
|
@${RM} ${STAGEDIR}${DOCSDIR}/SUITESPARSECONFIG_README.txt \
|
||||||
${STAGEDIR}${PREFIX}/include/suitesparse/SuiteSparse_config.h
|
${STAGEDIR}${PREFIX}/include/suitesparse/SuiteSparse_config.h
|
||||||
.endif
|
.endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue