# Created by: Anthony Ginepro <anthony.ginepro@laposte.net>
# $FreeBSD: branches/RELEASE_8_4_0/audio/tagtool/Makefile 315433 2013-03-28 03:28:30Z eadler $
#    $MCom: ports/audio/tagtool/Makefile,v 1.1 2006/09/30 01:15:37 ahze Exp $
PORTNAME=	tagtool
PORTVERSION=	0.12.3
PORTREVISION=	12
CATEGORIES=	audio
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GNOME MP3/Ogg file tagger

LIB_DEPENDS=	id3-3.8:${PORTSDIR}/audio/id3lib \
		vorbis:${PORTSDIR}/audio/libvorbis

USE_BZIP2=	yes
USES=        pathfix
USE_GNOME=	intlhack libglade2
USE_GETTEXT=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes

CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}

post-patch:
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
		's|-Wno-pointer-sign||g'

.include <bsd.port.mk>
