aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-audiofile/Makefile
blob: 143e1f031010013e259db0f7bd59915ac917aab3 (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
# New ports collection makefile for:	xmms-audiofile
# Date created:				4 Feb 2003
# Whom:					David Yeske <dyeske@yahoo.com>
#
# $FreeBSD$
#

PORTNAME=	xmms-audiofile
PORTVERSION=	0.1
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	http://www.68k.org/~michael/xmms/

MAINTAINER=	dyeske@yahoo.com
COMMENT=	XMMS plugin to allow playing libaudiofile supported files

LIB_DEPENDS=	audiofile.0:${PORTSDIR}/audio/libaudiofile
BUILD_DEPENDS=	xmms-config:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms

PLIST_FILES=	lib/xmms/Input/libaf.so
USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_GNOME=	gtk12
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes

CONFIGURE_ENV=	CFLAGS="${CFLAGS} -L${LOCALBASE}/lib ${PTHREAD_CFLAGS}" \
		LIBS="${LIBS} ${PTHREAD_LIBS}"

post-patch:
	@${REINPLACE_CMD} -e \
		's|^CFLAGS =|CFLAGS = @CFLAGS@|; \
		s|LIBS = @AUDIOFILE_LIBS@|LIBS = @AUDIOFILE_LIBS@ @LIBS@|' \
		${WRKSRC}/Makefile.in

.include <bsd.port.mk>