From owner-svn-ports-head@freebsd.org Thu Aug 23 22:00:35 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EFCC310997FC; Thu, 23 Aug 2018 22:00:34 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A25778A277; Thu, 23 Aug 2018 22:00:34 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8511727FD8; Thu, 23 Aug 2018 22:00:34 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7NM0Y5Y088052; Thu, 23 Aug 2018 22:00:34 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7NM0Xpr088049; Thu, 23 Aug 2018 22:00:33 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201808232200.w7NM0Xpr088049@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 23 Aug 2018 22:00:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r477927 - in head/science: . nwchem X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/science: . nwchem X-SVN-Commit-Revision: 477927 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2018 22:00:35 -0000 Author: yuri Date: Thu Aug 23 22:00:33 2018 New Revision: 477927 URL: https://svnweb.freebsd.org/changeset/ports/477927 Log: New port: science/nwchem: High-performance computational chemistry sotware Added: head/science/nwchem/ head/science/nwchem/Makefile (contents, props changed) head/science/nwchem/distinfo (contents, props changed) head/science/nwchem/pkg-descr (contents, props changed) Modified: head/science/Makefile Modified: head/science/Makefile ============================================================================== --- head/science/Makefile Thu Aug 23 21:29:11 2018 (r477926) +++ head/science/Makefile Thu Aug 23 22:00:33 2018 (r477927) @@ -130,6 +130,7 @@ SUBDIR += netcdf-cxx SUBDIR += netcdf-fortran SUBDIR += nifticlib + SUBDIR += nwchem SUBDIR += openbabel SUBDIR += openkim SUBDIR += openstructure Added: head/science/nwchem/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/nwchem/Makefile Thu Aug 23 22:00:33 2018 (r477927) @@ -0,0 +1,58 @@ +# $FreeBSD$ + +PORTNAME= nwchem +DISTVERSION= 6.8.1-release-94 +DISTVERSIONSUFFIX= -g1a262862b +CATEGORIES= science + +MAINTAINER= yuri@FreeBSD.org +COMMENT= High-performance computational chemistry sotware + +LICENSE= ECL20 +LICENSE_NAME= Educational Community License (ECL) 2.0 +LICENSE_FILE= ${WRKSRC}/../LICENSE.TXT +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +BROKEN_i386= Compiling basis.F... f951: sorry, unimplemented: 64-bit mode not compiled in + +BUILD_DEPENDS= bash:shells/bash +LIB_DEPENDS= libblas.so:math/blas \ + libga.so:devel/ga \ + libmpich.so:net/mpich2 + +USES= fortran gmake shebangfix +SHEBANG_FILES= ../contrib/distro-tools/build_* ../contrib/add_* +SHEBANG_GLOB= *.sh +USE_GITHUB= yes +GH_ACCOUNT= nwchemgit +MAKEFILE= GNUmakefile +MAKE_ENV= NWCHEM_TOP=${WRKSRC}/.. NWCHEM_MODULES=all NWCHEM_LONG_PATHS=Y NWCHEM_TARGET=LINUX64 USE_MPI=Y USE_INTERNALBLAS=Y EXTERNAL_GA_PATH=${LOCALBASE} BLAS_SIZE=4 + +SUB_FILES= nwchemrc + +WRKSRC_SUBDIR= src +BINARY_ALIAS= gcc=${CC} + +post-install: + @${REINPLACE_CMD} 's|nwchrc="/etc/nwchemrc"|nwchrc="${PREFIX}/etc/nwchemrc"|' ${WRKSRC}/util/util_nwchemrc.F + +do-install: + ${INSTALL_DATA} ${WRKDIR}/nwchemrc ${STAGEDIR}${PREFIX}/etc/nwchemrc + ${INSTALL_PROGRAM} ${WRKSRC}/../bin/LINUX64/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}.shadow + @(echo "#!/bin/sh"; \ + echo ""; \ + echo "if ! [ -f ~/.nwchemrc ]; then"; \ + echo " cp ${PREFIX}/etc/nwchemrc ~/.nwchemrc"; \ + echo "fi"; \ + echo ""; \ + echo "LD_PRELOAD=${PREFIX}/lib/gcc${GCC_DEFAULT}/libgcc_s.so ${PREFIX}/bin/${PORTNAME}.shadow \""$$"@\"" \ + ) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + cd ${WRKSRC}/basis && ${COPYTREE_SHARE} libraries ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR}/libraryps +.for d in development_psps HGH_LDA library1 library2 ofpw_default paw_default pspw_default pspw_new pspw_old Spin_Orbit TETER TM + cd ${WRKSRC}/nwpw/libraryps && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}/libraryps/ +.endfor + +.include Added: head/science/nwchem/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/nwchem/distinfo Thu Aug 23 22:00:33 2018 (r477927) @@ -0,0 +1,3 @@ +TIMESTAMP = 1535055945 +SHA256 (nwchemgit-nwchem-6.8.1-release-94-g1a262862b_GH0.tar.gz) = 5fed2b0941964e00112a192451a52423475fa0724e7e8268042143de72565885 +SIZE (nwchemgit-nwchem-6.8.1-release-94-g1a262862b_GH0.tar.gz) = 165051448 Added: head/science/nwchem/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/nwchem/pkg-descr Thu Aug 23 22:00:33 2018 (r477927) @@ -0,0 +1,15 @@ +NWChem aims to provide its users with computational chemistry tools that are +scalable both in their ability to treat large scientific computational chemistry +problems efficiently, and in their use of available parallel computing resources +from high-performance parallel supercomputers to conventional workstation +clusters. + +NWChem software can handle: +* Biomolecules, nanostructures, and solid-state +* From quantum to classical, and all combinations +* Ground and excited-states +* Gaussian basis functions or plane-waves +* Scaling from one to thousands of processors +* Properties and relativistic effects + +WWW: http://www.nwchem-sw.org/index.php/Main_Page