summaryrefslogtreecommitdiff
path: root/audio/xmms-speex/Makefile
blob: 7e808dc788ff3a4f1ad47f6a2d890c9686236e0d (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
38
39
# New ports collection makefile for:	xmms-speex
# Date created:				3 Oct 2002
# Whom:					David Yeske <dyeske@yahoo.com>
#
# $FreeBSD$
#

PORTNAME=	xmms-speex
PORTVERSION=	0.6.0
CATEGORIES=	audio
MASTER_SITES=	http://jzb.rapanden.dk/speex/
DISTNAME=	speex-xmms-${PORTVERSION}

MAINTAINER=	dyeske@yahoo.com

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

WRKSRC=		${WRKDIR}/speex-xmms

USE_X_PREFIX=	yes
USE_GNOMENG=	yes
USE_GNOME=	gtk12
USE_GMAKE=	yes
USE_REINPLACE=	yes

pre-build:
	@${REINPLACE_CMD} -e 's|^main|all|; \
		s|-lgtk|${CFLAGS} `${GTK_CONFIG} --cflags` `${GTK_CONFIG} --libs` |; \
		s|-I/usr/include/xmms||; \
		s|^install: libspeex.o|install:|; \
		s|-I/usr/lib/glib/include||; \
		s|-I/usr/include/glib-1.2||; \
		s|-I/usr/include/gtk-1.2||; \
		s|/usr/lib/xmms/Input|${X11BASE}/lib/xmms/Input|' \
		${WRKSRC}/Makefile

.include <bsd.port.mk>