83f02b963c
Approved by: portmgr (bapt)
45 lines
929 B
Makefile
45 lines
929 B
Makefile
# 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
|
|
|
|
USES= pkgconfig
|
|
USE_SCONS= yes
|
|
USE_GNOME= gtk30
|
|
|
|
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=''
|
|
USES+= gettext
|
|
.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>
|