freebsd-ports/science/atom/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

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, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

40 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= atom
DISTVERSION= 4.2.7-100
PORTREVISION= 5
CATEGORIES= science
MASTER_SITES= https://departments.icmab.es/leem/siesta/Pseudopotentials/Code/ \
https://departments.icmab.es/leem/siesta/Pseudopotentials/:lic
PKGNAMESUFFIX= -chemistry
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} atom_licence.html:lic
DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Program for DFT calculations in atoms
LICENSE= ATOM_LICENSE
LICENSE_NAME= ATOM ACADEMIC LICENCE
LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/atom_licence.html
LICENSE_PERMS= # none
LIB_DEPENDS= libGridXC.so:science/libgridxc \
libxc.so:science/libxc \
libxmlf90.so:textproc/xmlf90
USES= fortran gmake tar:tgz
MAKE_ENV= XMLF90_ROOT=${LOCALBASE} GRIDXC_ROOT=${LOCALBASE} LIBXC_ROOT=${LOCALBASE}
MAKE_ARGS= FC=gfortran${GCC_DEFAULT} LDFLAGS="${LDFLAGS}"
ALL_TARGET= default
PLIST_FILES= bin/atm
post-patch:
@${CP} ${WRKSRC}/arch.make.sample ${WRKSRC}/arch.make
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/atm ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>