a856b7b47e
PR: 261945 Reported by: diizzy MFH: 2022Q1 Security: 4d763c65-9246-11ec-9aa3-4ccc6adda413
37 lines
835 B
Makefile
37 lines
835 B
Makefile
PORTNAME= libmysofa
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.2.1-16
|
|
DISTVERSIONSUFFIX= -g52590e1
|
|
CATEGORIES= audio
|
|
|
|
MAINTAINER= jhale@FreeBSD.org
|
|
COMMENT= SOFA (Spatially Oriented Format for Acoustics) file reader
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
TEST_DEPENDS= node:www/node
|
|
|
|
USES= cmake cpe
|
|
USE_LDCONFIG= yes
|
|
|
|
CPE_VENDOR= symonics
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= hoene
|
|
|
|
OPTIONS_DEFINE= TEST
|
|
OPTIONS_SUB= yes
|
|
|
|
TEST_BUILD_DEPENDS= cunit>0:devel/cunit
|
|
TEST_CMAKE_BOOL= BUILD_TESTS
|
|
TEST_TEST_TARGET= test
|
|
|
|
# The tests are expected to be in ../tests relative to the build
|
|
# directory and the build results are expected to be in build/ relative
|
|
# to ${WRKSRC}. USES=cmake does not allow overwriting ${WRKDIR}/.build
|
|
# as the build directory.
|
|
post-patch:
|
|
@${RLN} ${WRKSRC}/build ${CONFIGURE_WRKSRC}
|
|
|
|
.include <bsd.port.mk>
|