From owner-svn-ports-head@freebsd.org Tue Oct 30 04:38:27 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 8810E10D3193; Tue, 30 Oct 2018 04:38:27 +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 3612F716F4; Tue, 30 Oct 2018 04:38:27 +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 1610D18A03; Tue, 30 Oct 2018 04:38:27 +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 w9U4cQfS077338; Tue, 30 Oct 2018 04:38:26 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9U4cQoq077337; Tue, 30 Oct 2018 04:38:26 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201810300438.w9U4cQoq077337@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 30 Oct 2018 04:38:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483446 - head/science/py-gpaw X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/science/py-gpaw X-SVN-Commit-Revision: 483446 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.29 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: Tue, 30 Oct 2018 04:38:27 -0000 Author: yuri Date: Tue Oct 30 04:38:26 2018 New Revision: 483446 URL: https://svnweb.freebsd.org/changeset/ports/483446 Log: science/py-gpaw: Add pkg-message; Add LICENSE_FILE; Change /usr/local to LOCALBASE pkg-message explains to the user that gpaw-setups is needed for this package. Added: head/science/py-gpaw/pkg-message (contents, props changed) Modified: head/science/py-gpaw/Makefile Modified: head/science/py-gpaw/Makefile ============================================================================== --- head/science/py-gpaw/Makefile Tue Oct 30 04:36:22 2018 (r483445) +++ head/science/py-gpaw/Makefile Tue Oct 30 04:38:26 2018 (r483446) @@ -11,6 +11,7 @@ MAINTAINER= yuri@FreeBSD.org COMMENT= DFT and beyond within the projector-augmented wave method in chemistry LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libmpich.so:net/mpich \ @@ -21,9 +22,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ase>0:science/py-a ${PYNUMPY} USES= gettext-runtime localbase python shebangfix -GH_ACCOUNT= psychopy USE_PYTHON= distutils concurrent autoplist SHEBANG_FILES= tools/* + +post-patch: + @${REINPLACE_CMD} "s|'/usr/local/|'${LOCALBASE}/|" ${WRKSRC}/gpaw/__init__.py post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gpaw-python ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_gpaw.so Added: head/science/py-gpaw/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-gpaw/pkg-message Tue Oct 30 04:38:26 2018 (r483446) @@ -0,0 +1,8 @@ +====================================================================== +You installed GPAW, the system for DFT computations in quantum +chemistry. + +In order to use this package you most likely need to also install +science/gpaw-setups that contains data files for electronic +configurations for many elements of the periodic table. +======================================================================