summaryrefslogtreecommitdiff
path: root/multimedia/adobe-flash-plugin/Makefile
blob: 5db957a1657c1d424b038678f5737cbb96a20e80 (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
# $NetBSD: Makefile,v 1.9 2012/10/08 09:20:57 asau Exp $

CATEGORIES=	multimedia www
MASTER_SITES=	http://download.macromedia.com/pub/labs/flashplayer10/
MASTER_SITES+=	ftp://ftp.dvo.ru/pub/Gentoo/distfiles/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.adobe.com/
COMMENT=		Adobe Flash Player Browser plugin
LICENSE=		flash-license

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

WRKSRC=			${WRKDIR}/${WRKNAME}
BUILD_DIRS=		# empty
DIST_SUBDIR=		flash/${FLASH_VERS}

CRYPTO=			yes

EMUL_PLATFORMS=		linux-i386
EMUL_MODULES.linux=	compat gtk2 x11
EMUL_REQD=		suse>=10.0

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

# Defaults so lintpkgsrc is happy
FLASH_VERS=		10.0.0.525
.if ${EMUL_PLATFORM} == "linux-i386"
DISTUNAME=		linux
DISTNAME=		flashplayer10_install_${DISTUNAME}_070208
WRKNAME=		install_flash_player_10_${DISTUNAME}
.endif

CONFLICTS=		ns-flash-[0-9]*
PKGNAME=		adobe-flash-plugin-${FLASH_VERS:S/r/./}

NS_PLUGINS_DIR=		${PREFIX}/lib/netscape/plugins

.include "options.mk"

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

.include "../../mk/bsd.pkg.mk"