summaryrefslogtreecommitdiff
path: root/www/MozillaFirebird-bin-flash/Makefile
blob: b5c4fe9cd69b4d9350c12d5435172d9dc1083f59 (plain)
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
48
49
50
# $NetBSD: Makefile,v 1.2 2004/01/08 04:47:10 grant Exp $

DISTNAME=		install_flash_player_6_${DISTUNAME}
PKGNAME=		MozillaFirebird-bin-flash-${FLASH_VERS:S/r/./}
CATEGORIES=		www graphics
MASTER_SITES=		http://download.macromedia.com/pub/shockwave/flash/${SUB}/

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://www.flash.com/
COMMENT=		Flash Player plugin for MozillaFirebird-bin

ONLY_FOR_PLATFORM=      *-*-i386

DIST_SUBDIR=		flash/${FLASH_VERS}

.include "../../mk/bsd.prefs.mk"

SUB=			english/${DISTUNAME}/${FLASH_VERS}

FLASH_VERS=		6.0r79
DEPENDS+=		MozillaFirebird-bin>=0.6.1:../../www/MozillaFirebird-bin
DISTUNAME=		linux
WRKNAME=		install_flash_player_6_${DISTUNAME}

RESTRICTED=             "Redistribution not permitted"
NO_SRC_ON_FTP=		${RESTRICTED}
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_FTP=		${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}

USE_BUILDLINK2=		yes
USE_PKGINSTALL=		yes
NO_CONFIGURE=		yes
NO_BUILD=		yes
CHECK_SHLIBS=		no
CRYPTO=			yes

MOZ_NAME=		MozillaFirebird-linux
WRKSRC=			${WRKDIR}/${WRKNAME}
NS_PLUGINS_DIR=		${PREFIX}/lib/${MOZ_NAME}/plugins

PLIST_SUBST+=		MOZ_NAME="${MOZ_NAME}"

do-install:
	${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR}
	${INSTALL_DATA} ${WRKSRC}/flashplayer.xpt ${NS_PLUGINS_DIR}
	${INSTALL_DATA} ${WRKSRC}/libflashplayer.so ${NS_PLUGINS_DIR}

.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"