blob: fcf349a01150647a69f97ce71c392e496eea90ce (
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
42
43
44
45
|
# Created by: Olivier Smedts <olivier@gid0.org>
# $FreeBSD$
PORTNAME= abraca
PORTVERSION= 0.7.1
CATEGORIES= audio
MASTER_SITES= http://cloud.github.com/downloads/Abraca/Abraca/
MAINTAINER= madpilot@FreeBSD.org
COMMENT= GTK2 client for the XMMS2 music player
BUILD_DEPENDS= ${LOCALBASE}/bin/valac:${PORTSDIR}/lang/vala
LIB_DEPENDS= xmmsclient:${PORTSDIR}/audio/xmms2 \
gee:${PORTSDIR}/devel/libgee06
USE_SCONS= yes
USE_GNOME= gtk30
USE_PKGCONFIG= build
SCONS_ARGS= MANDIR=${MANPREFIX}/man
MAN1= abraca.1
MANCOMPRESSED= yes
OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS='@comment '
.else
PLIST_SUB+= NLS=''
USE_GETTEXT= yes
.endif
post-configure:
.if ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -e 's/%%NLS%%/0/' ${WRKSRC}/SConstruct
.else
@${REINPLACE_CMD} -e 's/%%NLS%%/1/' ${WRKSRC}/SConstruct
.endif
.include <bsd.port.mk>
|