aboutsummaryrefslogtreecommitdiffstats
path: root/www/linux-flashplugin9/Makefile
blob: 32a74585a930ccc90dc517224db54b590d649143 (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
40
41
42
43
44
# New ports collection makefile for:    linux-flashplugin9
# Date created:             28 May 2004
# Whom:                 Jamie Jones <jamie@bishopston.net>
#
# $FreeBSD$
#

PORTNAME=   flashplugin
PORTVERSION=    9.0r262
CATEGORIES= www multimedia linux
MASTER_SITES=   http://download.macromedia.com/pub/flashplayer/installers/current/9/:plugin \
        http://tijl.ulyssis.fm/mirror/:suplib \
        LOCAL/pav:suplib
PKGNAMEPREFIX=  linux-
DISTFILES=  install_flash_player_9.tar.gz:plugin \
        libflashsupport.so:suplib
DIST_SUBDIR=    ${PORTNAME}/${PORTVERSION}
EXTRACT_ONLY=   install_flash_player_9.tar.gz

MAINTAINER= emulation@freebsd.org
COMMENT=    Adobe Flash Player NPAPI Plugin

ONLY_FOR_ARCHS= amd64 i386
USE_LINUX=  yes
USE_LINUX_APPS= openssl

RESTRICTED= Redistribution not allowed
RESTRICTED_FILES=   ${DISTFILES:Nlibflashsupport*:C/:[^:]+$//}

NO_BUILD=   yes
WRKSRC=     ${WRKDIR}
LATEST_LINK=    flash9

USE_NPAPI=  linux-*
NPAPI_FILES=    libflashplayer.so

CONFLICTS=  linux-flashplugin-7* linux-f8-flashplugin-10* linux-f10-flashplugin-10*

post-install:
    @${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/libflashsupport.so ${LINUXBASE}/usr/lib

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi"
.include <bsd.port.post.mk>