Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2018 04:38:26 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483446 - head/science/py-gpaw
Message-ID:  <201810300438.w9U4cQoq077337@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.
+======================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810300438.w9U4cQoq077337>