From owner-svn-ports-all@freebsd.org Mon Oct 26 10:10:12 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 624A7A1D11A; Mon, 26 Oct 2015 10:10:12 +0000 (UTC) (envelope-from danfe@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 mx1.freebsd.org (Postfix) with ESMTPS id 3631F1EEE; Mon, 26 Oct 2015 10:10:12 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9QAABKX019341; Mon, 26 Oct 2015 10:10:11 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9QAAAOm019335; Mon, 26 Oct 2015 10:10:10 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201510261010.t9QAAAOm019335@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Mon, 26 Oct 2015 10:10:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400179 - in head/science: . libxc X-SVN-Group: ports-head 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.20 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 Oct 2015 10:10:12 -0000 Author: danfe Date: Mon Oct 26 10:10:10 2015 New Revision: 400179 URL: https://svnweb.freebsd.org/changeset/ports/400179 Log: Add a port of Libxc, a library of exchange-correlation functionals for density-functional theory. PR: 201266 (modified) Submitted by: Johannes Dieterich Added: head/science/libxc/ head/science/libxc/Makefile (contents, props changed) head/science/libxc/distinfo (contents, props changed) head/science/libxc/pkg-descr (contents, props changed) head/science/libxc/pkg-plist (contents, props changed) Modified: head/science/Makefile Modified: head/science/Makefile ============================================================================== --- head/science/Makefile Mon Oct 26 09:29:28 2015 (r400178) +++ head/science/Makefile Mon Oct 26 10:10:10 2015 (r400179) @@ -76,6 +76,7 @@ SUBDIR += libquantum SUBDIR += libsvm SUBDIR += libsvm-python + SUBDIR += libxc SUBDIR += linsmith SUBDIR += massxpert SUBDIR += mbdyn Added: head/science/libxc/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libxc/Makefile Mon Oct 26 10:10:10 2015 (r400179) @@ -0,0 +1,33 @@ +# Created by: Johannes Dieterich +# $FreeBSD$ + +PORTNAME= libxc +PORTVERSION= 2.1.2 +CATEGORIES= science +MASTER_SITES= http://www.tddft.org/programs/octopus/download/libxc/ + +MAINTAINER= dieterich@ogolem.org +COMMENT= Library of exchange-correlation functionals for DFT + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= fortran gmake libtool perl5 +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-shared +USE_LDCONFIG= yes + +INSTALL_TARGET= install-strip + +post-patch: + @${REINPLACE_CMD} -e '/^pkgconfigdir =/s,libdir),prefix)/libdata,' \ + ${WRKSRC}/build/Makefile.in + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000034 +LIB_DEPENDS+= libml.so:${PORTSDIR}/math/ldouble +LDFLAGS+= -lml +.endif + +.include Added: head/science/libxc/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libxc/distinfo Mon Oct 26 10:10:10 2015 (r400179) @@ -0,0 +1,2 @@ +SHA256 (libxc-2.1.2.tar.gz) = 6c866168fa6245e6777cec8a1da257975e2e4cf410681416e248fbff2b03e55d +SIZE (libxc-2.1.2.tar.gz) = 724139 Added: head/science/libxc/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libxc/pkg-descr Mon Oct 26 10:10:10 2015 (r400179) @@ -0,0 +1,9 @@ +Libxc is library of exchange-correlation functionals for density-functional +theory. The aim is to provide a portable, well tested and reliable set of +exchange and correlation functionals that can be used by all the ETSF codes +and also other codes. + +In libxc you can find different types of functionals: LDA, GGA, hybrids, +and mGGA (experimental). + +WWW: http://www.tddft.org/programs/octopus/wiki/index.php/Libxc Added: head/science/libxc/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/libxc/pkg-plist Mon Oct 26 10:10:10 2015 (r400179) @@ -0,0 +1,14 @@ +bin/xc-info +include/libxc_funcs_m.mod +include/xc.h +include/xc_config.h +include/xc_f90_lib_m.mod +include/xc_f90_types_m.mod +include/xc_funcs.h +include/xc_unconfig.h +include/xc_version.h +lib/libxc.a +lib/libxc.so +lib/libxc.so.1 +lib/libxc.so.1.1.2 +libdata/pkgconfig/libxc.pc