From owner-svn-ports-all@freebsd.org Mon Mar 26 23:13:46 2018 Return-Path: Delivered-To: svn-ports-all@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 C7BB4F50982; Mon, 26 Mar 2018 23:13:46 +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 757977BCBD; Mon, 26 Mar 2018 23:13:46 +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 7061713934; Mon, 26 Mar 2018 23:13:46 +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 w2QNDk2W003371; Mon, 26 Mar 2018 23:13:46 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2QNDj8D003365; Mon, 26 Mar 2018 23:13:45 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803262313.w2QNDj8D003365@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 26 Mar 2018 23:13:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465645 - in head/science: . libcint libcint/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/science: . libcint libcint/files X-SVN-Commit-Revision: 465645 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2018 23:13:47 -0000 Author: yuri Date: Mon Mar 26 23:13:45 2018 New Revision: 465645 URL: https://svnweb.freebsd.org/changeset/ports/465645 Log: New port: science/libcint: General GTO integrals for quantum chemistry Added: head/science/libcint/ head/science/libcint/Makefile (contents, props changed) head/science/libcint/distinfo (contents, props changed) head/science/libcint/files/ head/science/libcint/files/patch-CMakeLists.txt (contents, props changed) head/science/libcint/files/patch-src_c2f.h (contents, props changed) head/science/libcint/pkg-descr (contents, props changed) Modified: head/science/Makefile Modified: head/science/Makefile ============================================================================== --- head/science/Makefile Mon Mar 26 22:49:58 2018 (r465644) +++ head/science/Makefile Mon Mar 26 23:13:45 2018 (r465645) @@ -82,6 +82,7 @@ SUBDIR += kst2 SUBDIR += lamprop SUBDIR += libaec + SUBDIR += libcint SUBDIR += libctl SUBDIR += libefp SUBDIR += libgeodecomp Added: head/science/libcint/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libcint/Makefile Mon Mar 26 23:13:45 2018 (r465645) @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= libcint +DISTVERSIONPREFIX= v +DISTVERSION= 3.0.10 +CATEGORIES= science + +MAINTAINER= yuri@FreeBSD.org +COMMENT= General GTO integrals for quantum chemistry + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libopenblas.so:math/openblas + +USES= cmake:outsource blaslapack:openblas +USE_GITHUB= yes +GH_ACCOUNT= sunqm +USE_LDCONFIG= yes + +PLIST_FILES= include/cint.h \ + lib/libcint.so \ + lib/libcint.so.3.0.6 + +.include Added: head/science/libcint/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libcint/distinfo Mon Mar 26 23:13:45 2018 (r465645) @@ -0,0 +1,3 @@ +TIMESTAMP = 1522103933 +SHA256 (sunqm-libcint-v3.0.10_GH0.tar.gz) = aac6d9630dc4c62840f03262166e877d3aeaf27b6b33498fb490fa3428f12fe4 +SIZE (sunqm-libcint-v3.0.10_GH0.tar.gz) = 38801760 Added: head/science/libcint/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libcint/files/patch-CMakeLists.txt Mon Mar 26 23:13:45 2018 (r465645) @@ -0,0 +1,15 @@ +--- CMakeLists.txt.orig 2018-03-26 22:49:26 UTC ++++ CMakeLists.txt +@@ -25,7 +25,11 @@ if(QUADMATH_FOUND) + set(HAVE_QUADMATH_H 1 CACHE INTERNAL "Have QUADMATH") + endif() + +-find_package(BLAS REQUIRED) ++# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226959 ++#find_package(BLAS REQUIRED) ++set(BLAS_FOUND ON) ++set(BLAS_LINKER_FLAGS -L${CMAKE_INSTALL_PREFIX}/lib -lopenblas -lopenblasp) ++set(BLAS_LIBRARIES ${CMAKE_INSTALL_PREFIX}/lib/libopenblas.so ${CMAKE_INSTALL_PREFIX}/lib/libopenblasp.so) + + include(CheckFunctionExists) + set(CMAKE_REQUIRED_INCLUDES math.h) Added: head/science/libcint/files/patch-src_c2f.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libcint/files/patch-src_c2f.h Mon Mar 26 23:13:45 2018 (r465645) @@ -0,0 +1,10 @@ +--- src/c2f.h.orig 2018-03-21 00:24:56 UTC ++++ src/c2f.h +@@ -4,6 +4,7 @@ + */ + + #include "config.h" ++#include + + #define ALL_CINT_FORTRAN_(NAME) \ + int c##NAME##_sph_(double *out, int *shls, int *atm, int *natm, \ Added: head/science/libcint/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libcint/pkg-descr Mon Mar 26 23:13:45 2018 (r465645) @@ -0,0 +1,5 @@ +libcint is an open source library for analytical Gaussian integrals. +It provides C/Fortran API to evaluate one-electron/two-electron +integrals for Cartesian/real-spheric/spinor Gaussian type functions. + +WWW: https://github.com/sunqm/libcint