# New ports collection makefile for:	taglib-sharp
# Date Created:				Aug 25 2008
# Whom:				 	Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD: ports/audio/taglib-sharp/Makefile,v 1.1 2008/08/27 16:37:59 flz Exp $
#

PORTNAME=	taglib-sharp
PORTVERSION=	2.0.3.0
CATEGORIES=	audio
MASTER_SITES=	http://www.taglib-sharp.com/Download/

MAINTAINER=	flz@FreeBSD.org
COMMENT=	Tagging library for the Mono framework

LIB_PC_DEPENDS=	mono.pc:${PORTSDIR}/lang/mono

BUILD_DEPENDS+=	${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|}
RUN_DEPENDS+=	${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|}

OPTIONS=	DOCS "Install documentation" on

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_GNOME=	gnomehack

.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"

.if !defined(WITHOUT_DOCS) && !defined(NOPORTDOCS)
BUILD_DEPENDS+=	${LOCALBASE}/bin/monodocer:${PORTSDIR}/devel/monodoc
.else
CONFIGURE_ARGS+=	--disable-docs
.endif

.include <bsd.port.post.mk>
