Commit 0e40de82 authored by yuri's avatar yuri
Browse files

math/petiga: Update g20200316 -> g20210307

parent 4948d1ba
# $FreeBSD$
PORTNAME= petiga
DISTVERSION= g20200316
DISTVERSION= g20210307
CATEGORIES= math python
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
......@@ -11,30 +11,26 @@ COMMENT= Framework for High Performance Isogeometric Analysis
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
BROKEN= fails to configure
LIB_DEPENDS= libblas.so:math/blas \
liblapack.so:math/lapack \
libmpich.so:net/mpich \
libpetsc.so:science/PETSc
USES= cmake compiler:c++14-lang fortran xorg
USE_XORG= x11
USES= gmake compiler:c++14-lang fortran
USE_LDCONFIG= yes
MAKEFILE= makefile
MAKE_ENV= PETSC_DIR=${LOCALBASE}
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} # https://bitbucket.org/dalcinl/petiga/issues/6/installs-into-prefix-tmp-petiga-instead-of
BB_ACCOUNT= dalcinl
BB_PROJECT= ${PORTNAME}
BB_COMMIT= 90677fb7b777
BB_COMMIT= 063a0ad5f450
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
PLIST_FILES= include/petiga.h \
lib/libpetiga.so \
lib/petiga/conf/rules \
lib/petiga/conf/test \
lib/petiga/conf/variables
post-install:
@cd ${STAGEDIR}${PREFIX}/include && ${RMDIR} petiga/cxx petiga/fad petiga
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpetiga.so
.include <bsd.port.mk>
TIMESTAMP = 1588284033
SHA256 (petiga-g20200316.tar.gz) = 4cfc054dc92bea6c8124a76c4a05a58b4fcba52d06bd9143bed0bf946e3ca5a3
SIZE (petiga-g20200316.tar.gz) = 191291
TIMESTAMP = 1617136913
SHA256 (petiga-g20210307.tar.gz) = 39f7a1924bc80e9697d6ed9daa7e26e20f0a8872d38e5073de3462ba6f4be750
SIZE (petiga-g20210307.tar.gz) = 189378
--- CMakeLists.txt.orig 2019-08-20 07:57:51 UTC
+++ CMakeLists.txt
@@ -67,8 +67,8 @@ if (BUILD_STATIC_LIBS)
endif ()
install (DIRECTORY include/ DESTINATION include FILES_MATCHING PATTERN "*.h" )
-install (DIRECTORY ${PETSC_ARCH}/include/ DESTINATION include FILES_MATCHING PATTERN "*.h" )
-install (DIRECTORY ${PETSC_ARCH}/include/ DESTINATION include FILES_MATCHING PATTERN "*.mod" )
+#install (DIRECTORY ${PETSC_ARCH}/include/ DESTINATION include FILES_MATCHING PATTERN "*.h" )
+#install (DIRECTORY ${PETSC_ARCH}/include/ DESTINATION include FILES_MATCHING PATTERN "*.mod" )
install (DIRECTORY lib/petiga/conf/ DESTINATION lib/petiga/conf)
-install (CODE "execute_process(COMMAND sed -i.arch -e s/$\(PETSC_ARCH\).//g \"${CMAKE_INSTALL_PREFIX}/lib/petiga/conf/variables\")")
+#install (CODE "execute_process(COMMAND sed -i.arch -e s/$\(PETSC_ARCH\).//g \"${CMAKE_INSTALL_PREFIX}/lib/petiga/conf/variables\")")
install (CODE "file(REMOVE \"${CMAKE_INSTALL_PREFIX}/lib/petiga/conf/variables.arch\")")
include/petiga.h
include/petiga.mod
include/petiga/cxx/function.hpp
include/petiga/cxx/iefunction.hpp
include/petiga/cxx/iejacobian.hpp
include/petiga/cxx/ifunction.hpp
include/petiga/cxx/ijacobian.hpp
include/petiga/cxx/jacobian.hpp
include/petiga/cxx/lookup.hpp
include/petiga/cxx/system.hpp
include/petiga/fad/adtype.hpp
include/petiga/fad/iejacobian.hpp
include/petiga/fad/ijacobian.hpp
include/petiga/fad/jacobian.hpp
include/petiga/petiga.hpp
lib/libpetiga.so
lib/petiga/conf/arch
lib/petiga/conf/petsc
lib/petiga/conf/rules
lib/petiga/conf/test
lib/petiga/conf/variables
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment