aboutsummaryrefslogtreecommitdiff
path: root/www/npapi-vlc/Makefile
blob: a5d274d8122a0e94c58e7d91a9865fde71333da2 (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
# Created by: Mikhail Teterin <mi@aldan.algebra.com>
# $FreeBSD$

PORTNAME=	npapi-vlc
PORTVERSION=	2.0.6
PORTREVISION=	3
CATEGORIES=	www multimedia
MASTER_SITES=	http://download.videolan.org/pub/videolan/vlc-webplugins/${PORTVERSION}/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Embeds vlc-player in web-browsers

LIB_DEPENDS=	libvlc.so:multimedia/vlc \
		libxul.so:www/libxul

USES=		libtool pkgconfig tar:xz webplugin:native
USE_GNOME=	gtk20
WEBPLUGIN_NAME=	#
WEBPLUGIN_FILES=libvlcplugin.so
GNU_CONFIGURE=	yes
PLIST_FILES=	${WEBPLUGIN_DIR:S,^${PREFIX}/,,}${WEBPLUGIN_FILES}
PATCH_STRIP=	-p1

do-install:
	${MKDIR} ${STAGEDIR}${WEBPLUGIN_DIR}
	${INSTALL_LIB} ${WRKSRC}/npapi/.libs/libvlcplugin.so	\
		${STAGEDIR}/${WEBPLUGIN_DIR}

.include <bsd.port.mk>