svn commit: r483446 - head/science/py-gpaw
Yuri Victorovich
yuri at FreeBSD.org
Tue Oct 30 04:38:27 UTC 2018
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 at 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.
+======================================================================
More information about the svn-ports-all
mailing list