# New ports collection makefile for:	spek
# Date created:				2010-09-07
# Whom:					Alexander Kojevnikov <alexander@kojevnikov.com>
#
# $FreeBSD: ports/audio/spek/Makefile,v 1.4 2012/02/16 15:56:44 ashish Exp $
#

PORTNAME=	spek
PORTVERSION=	0.7
PORTREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}

MAINTAINER=	alexander@kojevnikov.com
COMMENT=	Acoustic spectrum analyser

LIB_DEPENDS=	avcodec.1:${PORTSDIR}/multimedia/ffmpeg

MAN1=		spek.1

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_GNOME=	gtk20 desktopfileutils
USE_GETTEXT=	yes
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
MAKE_JOBS_SAFE=	yes

post-install:
	-@update-desktop-database

post-patch:
	@${REINPLACE_CMD} -e "s,^itlocaledir =.*$$,itlocaledir = ${PREFIX}/share/locale,g" ${WRKSRC}/po/Makefile.in.in

.include <bsd.port.mk>
