summaryrefslogtreecommitdiff
path: root/audio/mac/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-11 07:52:12 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-11 07:52:12 +0000
commit950514d8777570ee7f01dc54f192df5020eeacd6 (patch)
treebe8215d66d10d000cf0dbaa2c9551309a690f357 /audio/mac/Makefile
parentAdd Turkish localized help (diff)
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/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/audio/mac/Makefile b/audio/mac/Makefile
new file mode 100644
index 000000000000..ae915bb1758c
--- /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>