Makefile 979 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # $OpenBSD: Makefile,v 1.8 2016/03/11 19:59:11 naddy Exp $
  2. COMMENT = extract annotations from audio signals
  3. DISTNAME = aubio-0.3.2
  4. SHARED_LIBS += aubio 0.0 # 3.1
  5. SHARED_LIBS += aubioext 0.0 # 3.1
  6. CATEGORIES = audio
  7. HOMEPAGE = http://aubio.org
  8. REVISION = 2
  9. # GPLv2+
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB += FLAC c db fftw3f jack m ogg pthread samplerate sndfile
  12. WANTLIB += vorbis vorbisenc
  13. MASTER_SITES= ${HOMEPAGE}/pub/
  14. MODULES = lang/python
  15. BUILD_DEPENDS = devel/swig \
  16. textproc/docbook-to-man
  17. LIB_DEPENDS = audio/jack \
  18. math/fftw3,float
  19. CONFIGURE_STYLE = gnu
  20. CONFIGURE_FLAGS += --enable-test-progs
  21. CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
  22. LDFLAGS="-L${LOCALBASE}/lib"
  23. TEST_TARGET = run-tests
  24. # regress requires a running jackd instance
  25. TEST_IS_INTERACTIVE = Yes
  26. do-test:
  27. (cd ${WRKSRC}/examples/tests && env -i ${MAKE_ENV} ${MAKE_PROGRAM} \
  28. ${ALL_TEST_FLAGS} -f ${MAKE_FILE} ${TEST_TARGET} \
  29. ${TEST_LOG})
  30. .include <bsd.port.mk>