summaryrefslogtreecommitdiffstats
path: root/audio/gvolwheel/Makefile
blob: 4ad3a4c4bb6fa96d01a31c6e21900a59713a3cd7 (plain)
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: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$

PORTNAME=	gvolwheel
PORTVERSION=	1.0
CATEGORIES=	audio
MASTER_SITES=	SF/${PORTNAME}

MAINTAINER=	g.veniamin@googlemail.com
COMMENT=	Volume mixer

LICENSE=	GPLv3

BUILD_DEPENDS=	intltoolize:${PORTSDIR}/textproc/intltool

CONFIGURE_ARGS+=--enable-oss
GNU_CONFIGURE=	yes
USEs=		pkgconfig pathfix
USE_GMAKE=	yes
USE_GNOME=	gtk30
USE_ICONV=	yes

OPTIONS_DEFINE=	NLS
NLS_DESC=	Native language support

.include <bsd.port.options.mk>

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

pre-configure:
	${ECHO} "${DOCSDIR}"
	${REINPLACE_CMD} -e 's|linux/soundcard|sys/soundcard|g' \
		${WRKSRC}/src/callbacks.c ${WRKSRC}/src/actions.c

.include <bsd.port.mk>
OpenPOWER on IntegriCloud