aboutsummaryrefslogtreecommitdiffstats
path: root/www/npapi-vlc/Makefile
blob: 124cebf0ea29f9e0a1721f91dd1e9b58b6f544c8 (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=   5
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>