2018-02-09 03:35:14 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libmysofa
|
2020-06-29 19:27:15 +02:00
|
|
|
PORTVERSION= 1.1
|
2018-02-09 03:35:14 +01:00
|
|
|
DISTVERSIONPREFIX= v
|
|
|
|
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
|
|
|
|
|
2019-11-30 02:38:14 +01:00
|
|
|
USES= cmake
|
2018-02-09 03:35:14 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-11-30 02:38:14 +01:00
|
|
|
# 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}
|
|
|
|
|
2018-02-09 03:35:14 +01:00
|
|
|
.include <bsd.port.mk>
|