mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
0fdc100aa1
Monkey's Audio Codec is currently maintained by Jason Jordan (shntool-enabled versions 3.99-u4-b5-sX, bringing patch aggregation, pipe decoding/encoding, bug fixes, miscellaneous enhancements); will be updated via separate commit.
37 lines
924 B
Makefile
37 lines
924 B
Makefile
# Created by: Martin Dieringer <Martin.Dieringer@t-online.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mac
|
|
PORTVERSION= 3.99.4.5
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://etree.org/shnutils/shntool/support/formats/ape/unix/3.99-u4-b5/ \
|
|
http://freebsd.nsu.ru/distfiles/
|
|
DISTNAME= ${PORTNAME}-3.99-u4-b5
|
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= Monkey's Audio lossless codec
|
|
|
|
USES= libtool
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
|
|
BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-O3||' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e '/nRetVal = 0/s|int|intptr_t|' \
|
|
${WRKSRC}/src/MACLib/APEDecompress.cpp
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/src/MACLib && ${INSTALL_DATA} BitArray.h \
|
|
Prepare.h UnBitArrayBase.h ${STAGEDIR}${PREFIX}/include/mac
|
|
|
|
.include <bsd.port.post.mk>
|