# New ports collection makefile for:	gnome-subtitles
# Date created:				23 March 2007
# Whom:				Marcin Simonides <marcin@studio4plus.com>
#
# $FreeBSD: ports/multimedia/gnome-subtitles/Makefile,v 1.6 2007/10/24 23:36:10 marcus Exp $
#

PORTNAME=	gnome-subtitles
PORTVERSION=	0.6
PORTREVISION=	1
CATEGORIES=	multimedia
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	marcin@studio4plus.com
COMMENT=	Subtitle editor with video preview

BUILD_DEPENDS=	mono:${PORTSDIR}/lang/mono
RUN_DEPENDS=	mono:${PORTSDIR}/lang/mono

USE_GMAKE=	yes
USE_GNOME=	gnomeprefix gtksharp20 gnomesharp20 gnomedocutils
USE_GETTEXT=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
GCONF_SCHEMAS=	gnome-subtitles.schemas
INSTALLS_OMF=	yes
INSTALLS_ICONS=	yes

MAN1=		gnome-subtitles.1

.if !defined(WITHOUT_MPLAYER)
    RUN_DEPENDS+=	mplayer:${PORTSDIR}/multimedia/mplayer
.endif

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