1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/audio/mac/Makefile
Andrew Pantyukhin d4475c316c - Update to 3.99.4.5
- Take maintainership
- Better amd64 support
- Drop static lib
- Backward compatibility has been abandoned
- Miscellaneous tweaks
2007-01-08 22:38:25 +00:00

36 lines
877 B
Makefile

# New ports collection makefile for: mac
# Date created: 8 Aug 2004
# Whom: dieringe
#
# $FreeBSD$
#
PORTNAME= mac
PORTVERSION= 3.99.4.5
CATEGORIES= audio
MASTER_SITES= SF/mac-port
DISTNAME= ${PORTNAME}-3.99-u4-b5
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Monkey's Audio lossless codec
BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= does not compile on 4.x due to missing multibyte string functions in libc
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-O3||' ${WRKSRC}/configure
# @${REINPLACE_CMD} -e '/GetInfo/s|intptr_t|long|g' ${WRKSRC}/src/MACLib/*.*
# @${REINPLACE_CMD} -e 's|wcsnicmp|wcsncmp|g;s|wcsicmp|wcscmp|g;s|_wcsicmp|wcscmp|g;s|\.__pos||g' \
# ${WRKSRC}/src/MACLib/*.* ${WRKSRC}/src/Shared/*.*
.include <bsd.port.post.mk>