aboutsummaryrefslogtreecommitdiff
path: root/audio/volumeicon/Makefile
blob: 183b59f1c9db7d31cc3f64a06bfd274eaa0f32b5 (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
PORTNAME=	volumeicon
PORTVERSION=	0.5.1
PORTREVISION=	1
CATEGORIES=	audio

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Lightweight volume control for the systray
WWW=		https://github.com/Maato/volumeicon/

LICENSE=	GPLv3

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-oss=v3 \
		--with-oss-include-path=/usr/include/sys
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib

USES=		autoreconf gmake gnome gettext pkgconfig xorg
USE_GNOME=	gtk30 intltool cairo gdkpixbuf2
USE_XORG=	x11
USE_CSTD=	gnu99
USE_GITHUB=	yes
GH_ACCOUNT=	Maato

OPTIONS_DEFINE=		NLS NOTIFY
OPTIONS_DEFAULT=	NOTIFY
OPTIONS_SUB=		yes

NLS_USES=	gettext

NOTIFY_LIB_DEPENDS=	libnotify.so:devel/libnotify
NOTIFY_CONFIGURE_ENABLE=notify

pre-configure:
	cd ${WRKSRC} && ./autogen.sh

.include <bsd.port.mk>