aboutsummaryrefslogtreecommitdiffstats
path: root/audio/audacious-mac/Makefile
blob: 700e44de5079c60c0d61b51839f3a4d78e415115 (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
# New ports collection makefile for:    audacious-mac
# Date created:                         23 June 2007
# Whom:                 buganini@gmail.com
#
# $FreeBSD$
#

PORTNAME=   audacious-mac
PORTVERSION=    0.2.0
CATEGORIES= audio
MASTER_SITES=   http://www.netswarm.net/misc/

MAINTAINER= buganini@gmail.com
COMMENT=    Audacious plugin that support the Monkey's Audio lossless formats

LIB_DEPENDS=    audacious:${PORTSDIR}/multimedia/audacious \
        mac.2:${PORTSDIR}/audio/mac

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CFLAGS="${CFLAGS} -I${LOCALBASE}/include/"

post-patch:
    @${REINPLACE_CMD} -e 's|CXXFLAGS = @CXXFLAGS@|CXXFLAGS = @CXXFLAGS@ -lmac|' ${WRKSRC}/src/Makefile.in
    ${CP} ${PATCHDIR}/url2filename.cpp ${WRKSRC}/src/

.include <bsd.port.mk>