aboutsummaryrefslogtreecommitdiff
path: root/audio/mac/Makefile
blob: 6ef6162e21a38d3e43084954771aff1fee07943a (plain) (blame)
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
36
37
38
39
40
41
# New ports collection makefile for:   mac
# Date created:        8 Aug 2004
# Whom:                dieringe
#
# $FreeBSD$
#

PORTNAME=	mac
PORTVERSION=	3.99.4
CATEGORIES=	audio
MASTER_SITES=	ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/SRPMS.classic/
DISTFILES=	mac-3.99.u4-alt2.src.rpm

MAINTAINER=	dieringe@zedat.fu-berlin.de
COMMENT=	Monkey's Audio lossless audio (de)compressor

EXTRACT_DEPENDS=	rpm2cpio:${PORTSDIR}/archivers/rpm
BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm

EXTRACT_CMD=	rpm2cpio
EXTRACT_BEFORE_ARGS=	#
EXTRACT_AFTER_ARGS=	| ${CPIO} -id --quiet && ${TAR} -xyf mac-3.99-u4-linux.tar.bz2

USE_GMAKE=	yes
USE_LIBTOOL_VER=	15
CONFIGURE_ARGS+=	--enable-backward

WRKSRC=		${WRKDIR}/mac-3.99-u4

INSTALLS_SHLIB=	yes

# does not compile on sparc64
NOT_FOR_ARCHS=	sparc64 

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
IGNORE=		does not compile on 4.x due to missing multibyte string functions in libc
.endif

.include <bsd.port.post.mk>