1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/misc/libpredict/Makefile
Muhammad Moinur Rahman 414e7619c8 misc/libpredict: Fix build with llvm16
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
2023-07-21 17:41:48 +02:00

34 lines
811 B
Makefile

PORTNAME= libpredict
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.0
CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org
COMMENT= Satellite orbit prediction library
WWW= https://github.com/la1k/libpredict
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake
USE_CXXSTD= c++14
USE_GITHUB= yes
GH_ACCOUNT= la1k
USE_LDCONFIG= yes
CMAKE_OFF= BUILD_TESTING
PLIST_FILES= include/predict/predict.h \
lib/libpredict.so \
lib/libpredict.so.${DISTVERSION:R:R} \
lib/libpredict.so.${DISTVERSION} \
libdata/pkgconfig/predict.pc
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
.include <bsd.port.mk>