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:
parent
2d553375fc
commit
1c1025ae59
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483446
@ -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
|
||||
|
||||
|
8
science/py-gpaw/pkg-message
Normal file
8
science/py-gpaw/pkg-message
Normal 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.
|
||||
======================================================================
|
Loading…
Reference in New Issue
Block a user