Makefile 788 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.7 2016/09/10 13:03:41 ajacoutot Exp $
  2. COMMENT = decoder, encoder and replaygain for musepack files
  3. V = 475
  4. DISTNAME = musepack_src_r${V}
  5. PKGNAME = musepack-${V}
  6. REVISION = 2
  7. CATEGORIES = audio
  8. HOMEPAGE = http://www.musepack.net/
  9. SHARED_LIBS += mpcdec 4.0 # .7.0
  10. # BSD and LGPLv2.1
  11. PERMIT_PACKAGE_CDROM = Yes
  12. MASTER_SITES = http://files.musepack.net/source/
  13. DISTFILES = musepack_src_r${V}.tar.gz libreplaygain_r${V}.tar.gz
  14. WANTLIB += c cue m
  15. MODULES = devel/cmake
  16. LIB_DEPENDS = audio/libcue
  17. NO_TEST = Yes
  18. post-extract:
  19. cp ${WRKDIR}/libreplaygain_r${V}/include/replaygain/gain_analysis.h ${WRKSRC}/mpcgain/
  20. cp ${WRKDIR}/libreplaygain_r${V}/src/gain_analysis.c ${WRKSRC}/mpcgain/
  21. rm -r ${WRKSRC}/include/mpc/.svn
  22. .include <bsd.port.mk>