1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/audio/abraca/Makefile
Guido Falsi 9c070db8b7 - Convert to scons USES
- Use option helpers
- Fix NLS option logic
2013-10-04 11:36:29 +00:00

38 lines
814 B
Makefile

# Created by: Olivier Smedts <olivier@gid0.org>
# $FreeBSD$
PORTNAME= abraca
PORTVERSION= 0.7.1
PORTREVISION= 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= libxmmsclient.so:${PORTSDIR}/audio/xmms2 \
libgee.so:${PORTSDIR}/devel/libgee06
USES= pkgconfig scons
USE_GNOME= gtk30
MAKE_ARGS= MANDIR=${MANPREFIX}/man
OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
.include <bsd.port.options.mk>
post-configure:
.if ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -e 's/%%NLS%%/1/' ${WRKSRC}/SConstruct
.else
@${REINPLACE_CMD} -e 's/%%NLS%%/0/' ${WRKSRC}/SConstruct
.endif
.include <bsd.port.mk>