diff options
author | pav <pav@FreeBSD.org> | 2004-08-11 07:52:12 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-08-11 07:52:12 +0000 |
commit | f3248b633d8ed080c6acadf9f4fe53c9a7fc491e (patch) | |
tree | 9d0604bf4dddf10088bc48b5b9db4a3f111fd578 /audio/mac/Makefile | |
parent | 6739e450559045692f86c9e4f97c60d0127c5b28 (diff) | |
download | FreeBSD-ports-f3248b633d8ed080c6acadf9f4fe53c9a7fc491e.zip FreeBSD-ports-f3248b633d8ed080c6acadf9f4fe53c9a7fc491e.tar.gz |
Add mac, Monkey's Audio Codec which was recently released in source code.
It contain a library and an executable compressor/decompressor of .ape files.
Does not build under 4.x, we hit the wall with missing wcstol(). Working
patches would be welcomed.
PR: ports/70153
Submitted by: Martin Dieringer <Martin.Dieringer@t-online.de>
Diffstat (limited to 'audio/mac/Makefile')
-rw-r--r-- | audio/mac/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/audio/mac/Makefile b/audio/mac/Makefile new file mode 100644 index 0000000..ae915bb --- /dev/null +++ b/audio/mac/Makefile @@ -0,0 +1,38 @@ +# 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 + +.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> |