aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mangler/Makefile
blob: 2ee362355de45cad6744a59a8b3229bbcf55c3a4 (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
43
44
45
46
47
48
# New ports collection makefile for:    mangler
# Date created:     2010-10-18
# Whom:         Janik Galasso <janik@hikarihq.com>
#
# $FreeBSD$
#

PORTNAME=   mangler
PORTVERSION=    1.2.1
PORTREVISION=   2
CATEGORIES= audio
MASTER_SITES=   http://www.mangler.org/downloads/

MAINTAINER= janik@hikarihq.com
COMMENT=    A Ventrilo VOIP combatible client

LIB_DEPENDS=    celt0.2:${PORTSDIR}/audio/celt \
        speex.1:${PORTSDIR}/audio/speex \
        dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
        gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
        gsm.1:${PORTSDIR}/audio/gsm

USE_GNOME=  librsvg2
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --without-alsa
USE_LDCONFIG=   yes

CONFIGURE_ENV=  CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

OPTIONS=    PULSEAUDIO "Adds support for the PulseAudio sound server" off

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800000
BROKEN=     does not build
.endif

.if !defined(WITHOUT_PULSEAUDIO)
LIB_DEPENDS+=   pulse.0:${PORTSDIR}/audio/pulseaudio
CONFIGURE_ARGS+=--with-pulseaudio
.else
CONFIGURE_ARGS+=--without-pulseaudio
.endif

.include <bsd.port.post.mk>