summaryrefslogtreecommitdiffstats
path: root/audio/abraca/Makefile
blob: 2bc9099c89146ba7a233b379b9f47138be6da2cd (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
# Created by: Olivier Smedts <olivier@gid0.org>
# $FreeBSD$

PORTNAME=	abraca
PORTVERSION=	0.8.2
CATEGORIES=	audio
MASTER_SITES=	SF/${PORTNAME}

MAINTAINER=	madpilot@FreeBSD.org
COMMENT=	GTK2 client for the XMMS2 music player

BUILD_DEPENDS=	${LOCALBASE}/bin/valac:${PORTSDIR}/lang/vala
LIB_DEPENDS=	libxmmsclient.so:${PORTSDIR}/audio/xmms2 \
		libgee-0.8.so:${PORTSDIR}/devel/libgee
RUN_DEPENDS=	gnome-themes-standard>=3.0.0:${PORTSDIR}/x11-themes/gnome-themes-standard \
		gnome-icon-theme>=0:${PORTSDIR}/misc/gnome-icon-theme

USES=		pkgconfig waf tar:bzip2
USE_GNOME=	gtk30 intltool

MAKE_ARGS=	MANDIR=${MANPREFIX}/man
CONFIGURE_ARGS+=	--prefix=${PREFIX} \
			--mandir=${PREFIX}/man

OPTIONS_DEFINE=	NLS
OPTIONS_DEFAULT=	NLS

OPTIONS_SUB=	yes
NLS_USES=	gettext

post-patch-NLS-off:
	@${REINPLACE_CMD} -e '/\.load(/s/ intltool//' \
		-e '/recurse/s/ po//' ${WRKSRC}/wscript

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

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