aboutsummaryrefslogtreecommitdiffstats
path: root/audio/paprefs/Makefile
blob: 677e53c51ceffcbc07fa06577c49b487f35be4e2 (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
# Created by: Romain Tartière <romain@blogreen.org>
# $FreeBSD$

PORTNAME=   paprefs
PORTVERSION=    0.9.9
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   http://0pointer.de/lennart/projects/${PORTNAME}/

MAINTAINER= romain@FreeBSD.org
COMMENT=    GTK configuration dialog for PulseAudio

LIB_DEPENDS=    glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
        gconfmm-2.6.1:${PORTSDIR}/devel/gconfmm26 \
        pulse.0:${PORTSDIR}/audio/pulseaudio

GNU_CONFIGURE=  yes
USES=       gmake pathfix pkgconfig
NO_STAGE=   yes
USE_GNOME=  gnomeprefix intltool

CONFIGURE_ARGS= --disable-lynx

OPTIONS_DEFINE= PK NLS
PK_DESC=    Force dependency on PackageKit

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPK}
LIB_DEPENDS+=   packagekit-glib2.14:${PORTSDIR}/ports-mgmt/packagekit
.endif

.if ${PORT_OPTIONS:MNLS}
USES+=      gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

.include <bsd.port.mk>