Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # $OpenBSD: Makefile,v 1.12 2017/04/19 11:16:03 sthen Exp $
  2. ONLY_FOR_ARCHS = ${GCC4_ARCHS} ${CLANG_ARCHS}
  3. COMMENT = music studio with tracking, sampling and MIDI
  4. DISTNAME = lmms-0.4.8
  5. REVISION = 3
  6. CATEGORIES = audio
  7. HOMEPAGE = http://lmms.sourceforge.net/
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB = ICE SM QtGui QtXml X11 Xext Xft Xinerama c fltk jack \
  11. fftw3f fluidsynth fontconfig freetype m ncurses ogg \
  12. pthread readline samplerate sndfile sndio vorbis \
  13. vorbisenc vorbisfile z ${LIBCXX}
  14. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=lmms/}
  15. EXTRACT_SUFX = .tar.bz2
  16. MODULES = x11/qt4 devel/cmake
  17. BUILD_DEPENDS = audio/portaudio-svn
  18. RUN_DEPENDS = devel/desktop-file-utils \
  19. misc/shared-mime-info
  20. LIB_DEPENDS = audio/jack \
  21. math/fftw3,float \
  22. audio/fluidsynth \
  23. audio/libsamplerate \
  24. audio/libvorbis \
  25. x11/fltk
  26. USE_X11 = Yes
  27. CONFIGURE_ENV = CFLAGS="${CFLAGS} -I${X11BASE}/include" \
  28. CXXFLAGS="${CXXFLAGS} -I${X11BASE}/include" \
  29. LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
  30. CONFIGURE_ARGS = -DWANT_OSS=OFF -DWANT_SDL=OFF -DWANT_PULSEAUDIO=OFF
  31. # these are all available as separate ports
  32. CONFIGURE_ARGS += -DWANT_CALF=OFF -DWANT_CAPS=OFF -DWANT_CMT=OFF \
  33. -DWANT_SWH=OFF -DWANT_TAP=OFF
  34. MAKE_FLAGS += VERBOSE=1
  35. NO_TEST = Yes
  36. post-patch:
  37. cp ${FILESDIR}/FindSndio.cmake ${WRKSRC}/cmake/modules/
  38. cp ${FILESDIR}/{Audio,Midi}Sndio.h ${WRKSRC}/include/
  39. cp ${FILESDIR}/AudioSndio.cpp ${WRKSRC}/src/core/audio/
  40. cp ${FILESDIR}/MidiSndio.cpp ${WRKSRC}/src/core/midi/
  41. .include <bsd.port.mk>