summaryrefslogtreecommitdiff
path: root/audio/mac/Makefile
blob: d245cb1d35ecd9b63fcefd47d106b71388ca61dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:	Monkey's Audio Codec
# Date created:				8 Aug 2004
# Whom:			Martin Dieringer <Martin.Dieringer@t-online.de>
#
# $FreeBSD$
#

PORTNAME=	mac
PORTVERSION=	3.99.4.5
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	http://supermmx.org/resources/linux/mac/ CENKES
DISTNAME=	${PORTNAME}-3.99-u4-b5

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Monkey's Audio lossless codec

USE_AUTOTOOLS=	libtool:22
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes

.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

post-install:
	cd ${WRKSRC}/src/MACLib && ${INSTALL_DATA} BitArray.h \
		Prepare.h UnBitArrayBase.h ${PREFIX}/include/mac

.include <bsd.port.post.mk>