Files
ports/science/gemmi/Makefile
Yuri Victorovich 122e253d6b science/{,py-}gemmi: update 0.6.6 → 0.6.7
Reported by:	portscout
2024-09-06 23:24:52 -07:00

29 lines
821 B
Makefile

PORTNAME= gemmi
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.7
CATEGORIES= science # chemistry
MAINTAINER= yuri@FreeBSD.org
COMMENT= Macromolecular crystallography library and utilities
WWW= https://gemmi.readthedocs.io/en/latest/
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= cmake:testing compiler:c++20-lang # tests don't run, see https://github.com/project-gemmi/gemmi/issues/231
USE_GITHUB= yes
GH_ACCOUNT= project-gemmi
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_ARGS= -DCMAKE_CXX_VISIBILITY_PRESET=default # for the Python extension science/py-gemmi to see all symbols
CMAKE_TESTING_TARGET= check
OPTIONS_DEFINE= FORTRAN
FORTRAN_USES= fortran
FORTRAN_CMAKE_BOOL= USE_FORTRAN
FORTRAN_BROKEN= project option doesn't do anything, see https://github.com/project-gemmi/gemmi/issues/232
.include <bsd.port.mk>