2018-09-02 07:49:02 +00:00
|
|
|
PORTNAME= dalton
|
2020-11-16 02:14:25 +00:00
|
|
|
DISTVERSION= 2020.0
|
2023-04-23 09:09:58 +00:00
|
|
|
PORTREVISION= 1
|
2018-09-02 07:49:02 +00:00
|
|
|
CATEGORIES= science
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Powerful molecular electronic structure program for quantum chemistry
|
2022-09-07 21:06:12 +00:00
|
|
|
WWW= https://daltonprogram.org/
|
2018-09-02 07:49:02 +00:00
|
|
|
|
2018-12-17 04:30:01 +00:00
|
|
|
LICENSE= LGPL21
|
2018-09-02 07:49:02 +00:00
|
|
|
|
2022-12-11 07:32:12 +00:00
|
|
|
BROKEN_armv7= fortran runs out of memory
|
|
|
|
|
2018-09-02 07:49:02 +00:00
|
|
|
LIB_DEPENDS= liblapack.so:math/lapack \
|
|
|
|
libopenblas.so:math/openblas
|
|
|
|
RUN_DEPENDS= bash:shells/bash
|
|
|
|
|
2018-12-25 20:25:39 +00:00
|
|
|
USES= cmake:noninja fortran python:build shebangfix
|
2018-09-02 07:49:02 +00:00
|
|
|
SHEBANG_FILES= dalton.in
|
|
|
|
|
2020-11-16 02:14:25 +00:00
|
|
|
USE_GITLAB= yes
|
2023-07-12 12:13:03 +00:00
|
|
|
GL_TAGNAME= 66052b3af5ea7225e31178bf9a8b031913c72190
|
2018-12-17 04:30:01 +00:00
|
|
|
GL_TUPLE= bingao:gen1int:1e4148ecd676761b3399801acba443925a1fee6b:gen1int/external/gen1int \
|
2020-11-16 02:14:25 +00:00
|
|
|
pe-software:pelib-public:cf49a6e04fdca09af6245fb68a36d20b68552ace:pelib/external/pelib
|
|
|
|
|
|
|
|
USE_GITHUB= nodefault
|
|
|
|
GH_TUPLE= cstein:qfitlib:1acdc9863fdeae2cdbc7f5a599413257a095b8ad:qfitlib/external/qfitlib
|
2018-09-02 07:49:02 +00:00
|
|
|
|
|
|
|
BINARY_ALIAS= python=${PYTHON_CMD}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MV} ${STAGEDIR}${PREFIX}/${PORTNAME} ${STAGEDIR}${DATADIR}
|
|
|
|
@${REINPLACE_CMD} -i '' 's|%%SCRIPT_DIR%%|${DATADIR}|; s|%%PREFIX%%|${PREFIX}|' ${STAGEDIR}${DATADIR}/${PORTNAME}
|
|
|
|
@${MV} ${STAGEDIR}${DATADIR}/${PORTNAME}* ${STAGEDIR}${PREFIX}/bin/
|
2020-11-16 02:14:25 +00:00
|
|
|
@cd ${STAGEDIR}${DATADIR}/tools && ${STRIP_CMD} aces2dalton distances FChk2HES labread xyz2dalton
|
2018-12-17 04:30:01 +00:00
|
|
|
@cd ${STAGEDIR}${DATADIR} && ${RM} -r tools/CMakeFiles tools/Makefile tools/cmake_install.cmake
|
2018-09-02 07:49:02 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|