38 lines
868 B
Makefile
38 lines
868 B
Makefile
# $OpenBSD: Makefile,v 1.3 2012/05/25 12:51:06 fgsch Exp $
|
|
|
|
COMMENT = decoder, encoder and replaygain for musepack files
|
|
|
|
V = 475
|
|
DISTNAME = musepack_src_r${V}
|
|
PKGNAME = musepack-${V}
|
|
REVISION = 0
|
|
CATEGORIES = audio
|
|
|
|
HOMEPAGE = http://www.musepack.net/
|
|
|
|
SHARED_LIBS += mpcdec 4.0 # .7.0
|
|
|
|
# BSD and LGPLv2.1
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
MASTER_SITES = http://files.musepack.net/source/
|
|
DISTFILES = musepack_src_r${V}.tar.gz libreplaygain_r${V}.tar.gz
|
|
|
|
WANTLIB += c cue m
|
|
|
|
MODULES = devel/cmake
|
|
|
|
LIB_DEPENDS = audio/libcue
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
post-extract:
|
|
cp ${WRKDIR}/libreplaygain_r${V}/include/replaygain/gain_analysis.h ${WRKSRC}/mpcgain/
|
|
cp ${WRKDIR}/libreplaygain_r${V}/src/gain_analysis.c ${WRKSRC}/mpcgain/
|
|
rm -rf ${WRKSRC}/include/mpc/.svn
|
|
|
|
.include <bsd.port.mk>
|