Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # $OpenBSD: Makefile,v 1.36 2017/04/10 11:45:22 sthen Exp $
  2. COMMENT= decoding library for KDE Multimedia
  3. DISTNAME= akode-2.0.2
  4. REVISION= 20
  5. SHARED_LIBS += akode 2.1 # .2.0
  6. CATEGORIES= audio multimedia x11/kde
  7. HOMEPAGE= http://www.carewolf.com/akode/
  8. MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/
  9. EXTRACT_SUFX= .tar.bz2
  10. DISTFILES= 30375-${DISTNAME}${EXTRACT_SUFX}
  11. # LGPLv2
  12. PERMIT_PACKAGE_CDROM= Yes
  13. WANTLIB= FLAC c ltdl m mad ogg pthread samplerate sndio speex ${LIBCXX} \
  14. vorbis vorbisenc vorbisfile z
  15. LIB_DEPENDS= audio/flac \
  16. audio/libmad \
  17. audio/libsamplerate \
  18. audio/speex \
  19. audio/libvorbis \
  20. devel/libtool,-ltdl
  21. USE_GMAKE= Yes
  22. BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
  23. ${MODGNU_AUTOMAKE_DEPENDS}
  24. # uses libtoolize
  25. BUILD_DEPENDS+= devel/libtool
  26. CONFIGURE_STYLE= gnu
  27. AUTOCONF_VERSION= 2.60
  28. AUTOMAKE_VERSION= 1.9
  29. CONFIGURE= /bin/sh ${WRKDIST}/admin/cvs.sh configure
  30. CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include \
  31. --with-extra-libs=${LOCALBASE}/lib \
  32. --without-ffmpeg \
  33. --without-jack \
  34. --without-polyaudio \
  35. --without-oss \
  36. --without-sun
  37. post-extract:
  38. @mkdir -p ${WRKSRC}/akode/plugins/sndio_sink
  39. @cp ${FILESDIR}/{Makefile.am,sndio_sink.*} ${WRKSRC}/akode/plugins/sndio_sink
  40. pre-configure:
  41. @cd ${WRKSRC} && \
  42. AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  43. AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
  44. autoreconf -i
  45. post-install:
  46. @rm ${PREFIX}/lib/libakode_*.a
  47. @rm ${PREFIX}/lib/libakode_*.la
  48. .include <bsd.port.mk>