Edit

IABSD.fr/ports/audio/mac/Makefile

Branch :

  • Show log

    Commit

  • Author : jeremy
    Date : 2023-09-10 03:11:51
    Hash : d23e76a5
    Message : Update to Monkey's Audio Codec 10.20 This switches to using the upstream distfile, instead of what appears to be a Linux port of a quite old version (Monkey's Audio was previously Windows-only). The upstream distfile compiles without hanges. The shared library has changed from libmac to libMAC. The license has changed from a custom, non-open source license to a standard BSD-3-Clause license. All previous patches no longer necessary or apply. Add a couple new patches to the include files to make it easier to use the library.

  • audio/mac/Makefile
  • ONLY_FOR_ARCHS= aarch64 amd64 arm i386
    
    COMMENT=	Monkey's audio lossless codec
    
    VERSION=	10.20
    DISTNAME=	MAC_1020_SDK
    PKGNAME=	mac-${VERSION}
    SHARED_LIBS +=  MAC                  0.0      # .0.0
    CATEGORIES=	audio
    EXTRACT_SUFX=	.zip
    
    HOMEPAGE=	https://monkeysaudio.com
    
    # BSD-3-Clause
    PERMIT_PACKAGE=	Yes
    
    WANTLIB=	c m ${COMPILER_LIBCXX}
    
    COMPILER =	base-clang ports-gcc base-gcc
    
    MODULES =	devel/cmake
    
    SITES=		https://monkeysaudio.com/files/
    WRKDIST=	${WRKDIR}/mac-${VERSION}
    FIX_CRLF_FILES=	Shared/*.h
    
    post-extract:
    	mkdir ${WRKSRC}
    	mv ${WRKDIR}/!(mac-${VERSION}|bin) ${WRKSRC}
    
    .include <bsd.port.mk>