# $NetBSD: Makefile,v 1.4 2004/05/07 01:14:49 xtraeme Exp $
#

DISTNAME=	mplayerplug-in-1.0
PKGNAME=	moz-mplayer-1.0
PKGREVISION=	1
CATEGORIES=	multimedia www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=mplayerplug-in/}

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://mplayerplug-in.sourceforge.net/
COMMENT=	Embedded video player for Mozilla

DEPENDS+=	mplayer>=0.92:../../multimedia/mplayer

WRKSRC=         ${WRKDIR}/mplayerplug-in
USE_BUILDLINK3=	YES
USE_X11=	YES
GNU_CONFIGURE=	YES

MOZ_PLUGDIR=    ${PREFIX}/lib/mozilla/plugins

do-install:
	${INSTALL_DATA_DIR} ${MOZ_PLUGDIR}
	${INSTALL_DATA} ${WRKSRC}/mplayerplug-in.so ${MOZ_PLUGDIR}

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"