aboutsummaryrefslogtreecommitdiffstats
path: root/www/linux-mplayer-plugin/Makefile
blob: ba0a133e37019be24417de1b8eefd43be7f34a8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    linux-mplayerplug-in
# Date Created:     17 June 2006
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   mplayerplug-in
PORTVERSION=    3.31
DISTVERSIONSUFFIX=  -fc4
CATEGORIES= www multimedia
MASTER_SITES=   SF
PKGNAMEPREFIX=  linux-

MAINTAINER= infofarmer@FreeBSD.org
COMMENT=    Embed MPlayer into browser

RUN_DEPENDS=    mplayer:${PORTSDIR}/multimedia/mplayer \
        ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2 \
        ${LINUXBASE}/usr/lib/libatk-1.0.so.0:${PORTSDIR}/accessibility/linux-atk \
        ${LINUXBASE}/usr/lib/libpangoxft-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-pango\
        ${LINUXBASE}/usr/lib/libgobject-2.0.so.0:${PORTSDIR}/devel/linux-glib2

BROKEN=     Unfetchable

NO_BUILD=   yes
USE_LINUX_RPM=  yes
USE_XLIB=   yes
LINUX_DIST= fedora
LINUX_DIST_VER= 4
PREFIX?=    ${LOCALBASE}

USE_NPAPI=  linux
NPAPI_WRKSRC=   ${WRKDIR}/usr/lib/mozilla/plugins
NPAPI_FILES=    ${PLUGINS_EXT:S/^/${PORTNAME}/}
PLUGINS_EXT=    .so .xpt -dvx.so -dvx.xpt -qt.so -qt.xpt -rm.so -rm.xpt -wmp.so -wmp.xpt

.include "${.CURDIR}/Makefile.npapi"
.include <bsd.port.mk>