diff --git a/science/rdkit/Makefile b/science/rdkit/Makefile index 3d0230c5ffec..04e3b924b5c3 100644 --- a/science/rdkit/Makefile +++ b/science/rdkit/Makefile @@ -1,93 +1,93 @@ PORTNAME= rdkit DISTVERSIONPREFIX= Release_ DISTVERSION= 2024_03_6 CATEGORIES= science -MASTER_SITES= https://fonts.google.com/download?family=Comic%20Neue&dummy=/:font +MASTER_SITES= LOCAL/yuri/:font # unstable, changing font file: https://fonts.google.com/download?family=Comic%20Neue&dummy=/:font DISTFILES= ComicNeue-Regular.ttf:font DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} EXTRACT_ONLY= ${DISTFILES:C/:.*//:N*.ttf} MAINTAINER= yuri@FreeBSD.org COMMENT= Collection of cheminformatics and machine-learning software WWW= https://www.rdkit.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/license.txt BROKEN_i386= non-constant-expression cannot be narrowed from type 'unsigned int' to 'npy_intp', see https://github.com/rdkit/rdkit/issues/4934 BROKEN_FreeBSD_15_aarch64= clang-17 crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272652 BROKEN_FreeBSD_15_amd64= clang-17 crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272652 BUILD_DEPENDS= catch>0:devel/catch \ flex:textproc/flex \ rapidjson>=0:devel/rapidjson LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libcoordgen.so:science/coordgenlibs \ libfreetype.so:print/freetype2 \ libmaeparser.so:science/maeparser USES= bison:build cmake:testing compiler:c++11-lang eigen:3 python USE_GITHUB= yes GH_TUPLE= rareylab:RingDecomposerLib:v1.1.3_rdkit:RingDecomposerLib/External/RingFamilies/RingDecomposerLib USE_LDCONFIG= yes CMAKE_OFF= RDK_INSTALL_INTREE RDK_USE_FLEXBISON \ RDK_INSTALL_STATIC_LIBS RDK_SWIG_STATIC RDK_PGSQL_STATIC \ RDK_OPTIMIZE_NATIVE \ RDK_BUILD_CPP_TESTS CMAKE_ARGS= -DCATCH_DIR=${LOCALBASE}/include/catch2 CFLAGS+= -D_GNU_SOURCE CXXFLAGS+= -D_GNU_SOURCE DATADIR= ${PREFIX}/share/RDKit DOCSDIR= ${PREFIX}/share/doc/RDKit # RDBASE=${STAGEDIR}${PREFIX} TEST_ENV= ${MAKE_ENV} \ RDBASE=${WRKSRC} \ PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ LD_LIBRARY_PATH=${STAGEDIR}${PREFIX}/lib PLIST_SUB= SHLIB_VER=${PORTVERSION} OPTIONS_DEFINE= DOCS PGSQL PYTHON OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_CMAKE_ON= -DFREEBSD_DOCSDIR:PATH=${DOCSDIR} PGSQL_USES= pgsql PGSQL_DESC= Build the PostgreSQL cartridge PGSQL_CMAKE_BOOL= RDK_BUILD_PGSQL PYTHON_CMAKE_BOOL= RDK_BUILD_PYTHON_WRAPPERS PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_LIB_DEPENDS= ${PY_BOOST} PYTHON_RUN_DEPENDS= ${PYNUMPY} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}reportlab>0:print/py-reportlab@${PY_FLAVOR} PORTDOCS= * .include .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH:Marm*} || ${ARCH} == i386 || ${ARCH:Mmips*el*} || ${ARCH} == riscv PLIST_SUB+= LITTLE_ENDIAN="" .else PLIST_SUB+= LITTLE_ENDIAN="@comment " .endif post-extract: @${MKDIR} ${WRKSRC}/External/rapidjson-1.1.0 @cd ${WRKSRC}/External/rapidjson-1.1.0 && ${LN} -s ${LOCALBASE}/include/rapidjson include @cd ${WRKSRC}/Data/Fonts && ${CP} ${DISTDIR}/${DIST_SUBDIR}/ComicNeue-Regular.ttf . post-install-PGSQL-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/rdkit.so # many tests fail, see https://github.com/rdkit/rdkit/issues/7779 .include diff --git a/science/rdkit/distinfo b/science/rdkit/distinfo index af1e4cf83c65..1545d82058c4 100644 --- a/science/rdkit/distinfo +++ b/science/rdkit/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1725065957 -SHA256 (rdkit-2024.03.6/ComicNeue-Regular.ttf) = 8eaa5a108104e41d3f203af0428f2a368bb7217dce74f5b2afd7c97c38c8ca90 +TIMESTAMP = 1725689837 +SHA256 (rdkit-2024.03.6/ComicNeue-Regular.ttf) = 4f0f67d826565ed55f91ca6512e5562d0f2a39030fc7208519354438bc783ff6 SIZE (rdkit-2024.03.6/ComicNeue-Regular.ttf) = 21915 SHA256 (rdkit-2024.03.6/rdkit-rdkit-Release_2024_03_6_GH0.tar.gz) = 5002ff97e59d9c08f4faa1c6a2e276a695f6874dfc93e28cbbd62dab4f0b40d7 SIZE (rdkit-2024.03.6/rdkit-rdkit-Release_2024_03_6_GH0.tar.gz) = 80462644 SHA256 (rdkit-2024.03.6/rareylab-RingDecomposerLib-v1.1.3_rdkit_GH0.tar.gz) = 944b5816712a48bbf88aa25d4300ce11871ddf6e971218eac08f90ed2192f715 SIZE (rdkit-2024.03.6/rareylab-RingDecomposerLib-v1.1.3_rdkit_GH0.tar.gz) = 137931