a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
41 lines
916 B
Makefile
41 lines
916 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= quantum-espresso-pseudopotentials
|
|
DISTVERSION= g20180406
|
|
PORTREVISION= 1
|
|
CATEGORIES= science
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Pseudopotentials for use with Quantum Espresso
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/License
|
|
|
|
BUILD_DEPENDS= quantum-espresso>0:science/quantum-espresso \
|
|
bash:shells/bash
|
|
RUN_DEPENDS= quantum-espresso>0:science/quantum-espresso
|
|
|
|
USES= shebangfix
|
|
SHEBANG_GLOB= *.job make_*
|
|
SHEBANG_FILES= QE_path clean clean_all
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= dalcorso
|
|
GH_PROJECT= pslibrary
|
|
GH_TAGNAME= 9dd5cf7
|
|
|
|
NO_ARCH= yes
|
|
|
|
DATADIR= ${PREFIX}/share/quantum-espresso
|
|
PORTDATA= *
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's|/path_to_quantum_espresso/|${LOCALBASE}|' ${WRKSRC}/QE_path
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && ./make_all_ps
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${FIND} ${WRKSRC} -name "*.UPF" -and -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR} \;
|
|
|
|
.include <bsd.port.mk>
|