1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/science/avogadrolibs/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

72 lines
2.0 KiB
Makefile

# $FreeBSD$
PORTNAME= avogadrolibs
DISTVERSION= 1.92.1
PORTREVISION= 1
CATEGORIES= science
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
PATCHFILES= cf9d82575796d5fcabb153bdebde26843d81d83e.patch:-p1 \
ea813f683cdd9865994c0ba94a24325e04b9f8fb.patch:-p1 \
MAINTAINER= yuri@FreeBSD.org
COMMENT= Avogadro2 libraries for chemical editor and visualization applications
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/mmtf.hpp:science/mmtf-cpp
USES= cmake compiler:c++11-lang eigen:3,build,run # eigen needs to be 'run' because it is written into cmake files
USE_GITHUB= yes
GH_ACCOUNT= OpenChemistry
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
OPTIONS_DEFINE= HDF5 LIBARCHIVE LIBMSYM MOLEQUEUE OPENGL QT5 SPGLIB VTK
OPTIONS_DEFAULT= LIBARCHIVE LIBMSYM MOLEQUEUE OPENGL QT5 SPGLIB
OPTIONS_SUB= yes
HDF5_CMAKE_BOOL= USE_HDF5
HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 \
libsz.so:science/szip
LIBARCHIVE_DESC= Enable optional Libarchive features
LIBARCHIVE_CMAKE_BOOL= USE_LIBARCHIVE
LIBARCHIVE_USES= libarchive
LIBARCHIVE_IMPLIES= QT5
LIBMSYM_DESC= Enable optional features using libmsym
LIBMSYM_CMAKE_BOOL= USE_LIBMSYM
LIBMSYM_LIB_DEPENDS= libmsym.so:science/libmsym
MOLEQUEUE_DESC= Enable the MoleQueue dependent functionality
MOLEQUEUE_CMAKE_BOOL= USE_MOLEQUEUE
MOLEQUEUE_LIB_DEPENDS= libMoleQueueClient.so:misc/molequeue
MOLEQUEUE_IMPLIES= QT5
OPENGL_CMAKE_BOOL= USE_OPENGL
OPENGL_USES= gl
OPENGL_USE= GL=gl,glew,glu
QT5_CMAKE_BOOL= USE_QT
QT5_USES= qt:5
QT5_USE= QT=core,concurrent,gui,network,widgets,buildtools_build,qmake_build
QT5_IMPLIES= OPENGL
SPGLIB_DESC= Enable optional features using spglib
SPGLIB_CMAKE_BOOL= USE_SPGLIB
SPGLIB_LIB_DEPENDS= libsymspg.so:science/spglib
VTK_DESC= Enable libraries that use VTK
VTK_CMAKE_BOOL= USE_VTK
VTK_LIB_DEPENDS= libvtksys-8.1.so.1:math/vtk8
VTK_IMPLIES= QT5
VTK_BROKEN= Needs https://github.com/psavery/genXrdPattern, etc
post-install:
@${RM} -r ${STAGEDIR}${PREFIX}/share/doc
.include <bsd.port.mk>