blob: 602b7ca8bc22621110b4e52e3e0b0b9016adf696 (
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
|
# $NetBSD: Makefile,v 1.5 2000/06/01 09:45:42 dmcmahill Exp $
#
PKGNAME= ns-flash-4.0r12
FLASH_VERS= ${PKGNAME:S/ns-flash-//}
ONLY_FOR_PLATFORM= *-*-i386 SunOS-*-sparc
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == "i386")
DEPENDS+= suse_linux>=6.1:../../emulators/suse_linux
DISTUNAME= linux
WRKNAME= Linux
.elif ${MACHINE_ARCH} == "sparc" && ${OPSYS} == "SunOS"
DISTUNAME= solaris
WRKNAME= Solaris
.endif
DISTNAME= flash_${DISTUNAME}
CATEGORIES= graphics www
SUB= english/${DISTUNAME}/${FLASH_VERS}
MASTER_SITES= http://download.macromedia.com/pub/shockwave/flash/${SUB}/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.flash.com/
NO_CDROM= "Redistribution not permitted"
RESTRICTED= "Export-controlled"
MIRROR_DISTFILE= no
NO_CONFIGURE= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${WRKNAME}
NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins
do-install:
${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR}
${INSTALL_DATA} ${WRKSRC}/ShockwaveFlash.class ${NS_PLUGINS_DIR}
${INSTALL_DATA} ${WRKSRC}/libflashplayer.so ${NS_PLUGINS_DIR}
.include "../../mk/bsd.pkg.mk"
|