blob: 2d8cee7855c39650fe1905a748117d20bdbb1550 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PORTNAME= quantum-espresso-pseudopotentials
DISTVERSION= g20180406
PORTREVISION= 2
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>
|