Files
ports/misc/units/Makefile
T
Yuri Victorovich d753e238b7 misc/units: update 0.10.2 → 0.12.0
Reported by:	portscout
2025-01-06 03:23:39 -08:00

27 lines
677 B
Makefile

PORTNAME= units
DISTVERSIONPREFIX= v
DISTVERSION= 0.12.0
CATEGORIES= misc
PKGNAMESUFFIX= -library
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ library for working with units of measurement
WWW= https://units.readthedocs.io/en/latest/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake:testing
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= LLNL
GH_TUPLE= google:googletest:v1.15.2:googletest/ThirdParty/googletest
CMAKE_ON= UNITS_BUILD_OBJECT_LIBRARY \
UNITS_BUILD_SHARED_LIBRARY
CMAKE_OFF= UNITS_ENABLE_TESTS
CMAKE_TESTING_ON= UNITS_ENABLE_TESTS # tests expect the googletest source tree, see https://github.com/LLNL/units/issues/340
.include <bsd.port.mk>