aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-speex/Makefile
blob: 30b02ffb3803cb308c0bfafbee7ac096fab72337 (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
40
41
42
# 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
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   http://jzb.rapanden.dk/speex/
DISTNAME=   speex-xmms-${PORTVERSION}

MAINTAINER= dyeske@yahoo.com
COMMENT=    XMMS input plugin to play speex files

BROKEN=     Broken dependency

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

WRKSRC=     ${WRKDIR}/speex-xmms

USE_X_PREFIX=   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>