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.
This commit is contained in:
Yuri Victorovich 2018-10-30 04:38:26 +00:00
parent 2d553375fc
commit 1c1025ae59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483446
2 changed files with 12 additions and 1 deletions

View File

@ -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,10 +22,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ase>0:science/py-ase@${PY_FLAVOR} \
${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

View File

@ -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.
======================================================================