29 lines
598 B
Makefile
29 lines
598 B
Makefile
PORTNAME= phonopy
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.20.0
|
|
CATEGORIES= science python
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Package for phonon calculations at harmonic and quasi-harmonic levels
|
|
WWW= https://phonopy.github.io/phonopy/
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake
|
|
.if !exists(/usr/include/omp.h)
|
|
USES+= compiler:gcc-c++11-lib
|
|
.endif
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
|
|
CMAKE_ON= PHONOPY BUILD_SHARED_LIBRARIES
|
|
|
|
PLIST_FILES= include/phonopy.h \
|
|
lib/libphpy.a \
|
|
lib/libphpy.so \
|
|
lib/libphpy.so.1 \
|
|
lib/libphpy.so.${DISTVERSION}
|
|
|
|
.include <bsd.port.mk>
|