# Created by: # $FreeBSD: head/audio/libsamplerate/Makefile 564879 2021-02-10 17:07:44Z tcberner $ PORTNAME= libsamplerate DISTVERSION= 0.2.1 CATEGORIES= audio MASTER_SITES= https://github.com/libsndfile/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Secret Rabbit Code: a Sample Rate Converter for audio LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake cpe pkgconfig tar:bz2 CPE_VENDOR= ${CPE_PRODUCT}_project USE_LDCONFIG= yes TEST_TARGET= test CMAKE_ON= BUILD_SHARED_LIBS LIBSAMPLERATE_INSTALL OPTIONS_DEFINE= DOCS EXAMPLES TEST EXAMPLES_LIB_DEPENDS= libsndfile.so:audio/libsndfile EXAMPLES_CMAKE_BOOL= LIBSAMPLERATE_EXAMPLES TEST_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libsndfile.so:audio/libsndfile TEST_CMAKE_BOOL= BUILD_TESTING do-install-EXAMPLES-on: ${INSTALL_PROGRAM} ${WRKDIR}/.build/examples/timewarp-file ${STAGEDIR}${PREFIX}/bin/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/timewarp-file .include