summaryrefslogtreecommitdiff
path: root/www/linux-flashplugin7/Makefile
blob: 6194710668d754251a6c41154f232c0b1f20eaf1 (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
45
46
47
# New ports collection makefile for:	linux-flashplugin7
# Date created:				28 May 2004
# Whom:					Jamie Jones <jamie@bishopston.net>
#
# $FreeBSD$
#

PORTNAME=	flashplugin
PORTVERSION=	7.0r73
PORTREVISION=	1
CATEGORIES=	www multimedia linux
MASTER_SITES=	http://fpdownload.macromedia.com/get/flashplayer/installers/archive/
PKGNAMEPREFIX=	linux-
DISTNAME=	install_flash_player_7_linux
DISTNAME=	fp7_archive
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	jamie@bishopston.net
COMMENT=	Adobe Flash Player NPAPI Plugin

ONLY_FOR_ARCHS=	amd64 i386
USE_LINUX=	yes
USE_ZIP=	yes

RESTRICTED=	Redistribution not allowed

NO_BUILD=	yes
WRKSRC=		${WRKDIR}/fp7_archive/r73/install_flash_player_7_linux

USE_NPAPI=	linux-*
NPAPI_FILES=	libflashplayer.so flashplayer.xpt

CONFLICTS=	linux-flashplugin-9*

OPTIONS=	NSPLUG "Install nspluginwrapper (for native browser use)" on

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

.if defined (WITH_NSPLUG)
RUN_DEPENDS+=	nspluginwrapper:${PORTSDIR}/www/nspluginwrapper
.endif

post-patch:
	(cd ${WRKDIR}/fp7_archive/r73 && ${TAR} -xzf install_flash_player_7_linux_r73.tar.gz)

.include <bsd.port.post.mk>