blob: c0edbb67cf380b926f31effbc2b3d32cd896bf26 (
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
|
# New ports collection makefile for: libcanberra
# Date created: 05 August 2008
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libcanberra
PORTVERSION= 0.6
PORTREVISION= 2
CATEGORIES= audio devel
MASTER_SITES= http://0pointer.de/public/
MAINTAINER= gnome@FreeBSD.org
COMMENT= Implementation of the Freedesktop sound theme spec
LIB_DEPENDS= vorbisfile.5:${PORTSDIR}/audio/libvorbis
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gtk20 ltverhack
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
OPTIONS= PULSE "Enable Pulse Audio support" on
.include <bsd.port.pre.mk>
.if defined(WITH_PULSE)
LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
PLIST_SUB+= PULSE=""
.else
CONFIGURE_ARGS+=--disable-pulse
PLIST_SUB+= PULSE="@comment "
.endif
.include <bsd.port.post.mk>
|