blob: 0c14177845c24b81aefd1a9984a60762842d6ed6 (
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
|
# $NetBSD: Makefile.common,v 1.8 2006/03/04 21:30:58 jlam Exp $
DISTNAME= install_flash_player_7_${DISTUNAME}
PKGNAME= ${MOZ_BIN}-flash-${FLASH_VERS:S/r/./}
CATEGORIES= www graphics
MASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/
MAINTAINER?= pkgsrc-users@NetBSD.org
HOMEPAGE?= http://www.flash.com/
ONLY_FOR_PLATFORM= *-*-i386
DIST_SUBDIR= flash/${FLASH_VERS}
.include "../../mk/bsd.prefs.mk"
SUB= english/${DISTUNAME}/${FLASH_VERS}
FLASH_VERS= 7.0r61
DISTUNAME= linux
WRKNAME= install_flash_player_7_${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}
NO_CONFIGURE= yes
NO_BUILD= yes
CHECK_SHLIBS= no
CRYPTO= yes
MOZ_NAME?= firefox-linux
MOZ_BIN?= ${MOZ_NAME:S/linux/bin/}
WRKSRC= ${WRKDIR}/${WRKNAME}
NS_PLUGINS_DIR= ${PREFIX}/lib/${MOZ_NAME}/plugins
PLIST_SUBST+= MOZ_NAME=${MOZ_NAME:Q}
do-install:
${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR}
${INSTALL_DATA} ${WRKSRC}/flashplayer.xpt ${NS_PLUGINS_DIR}
${INSTALL_DATA} ${WRKSRC}/libflashplayer.so ${NS_PLUGINS_DIR}
|