summaryrefslogtreecommitdiffstats
path: root/www/linux-flashplugin/Makefile
blob: ad3632ac6f4f400c342597ce892d878dece1cb6d (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
# New ports collection makefile for:	linux-flashplugin
# Date created:		13 Feburary 2000
# Whom:			Matt Heckaman <matt@LUCIDA.QC.CA>
#
# $FreeBSD$
#

PORTNAME=	linux-flashplugin
PORTVERSION= 	4.0.r12
CATEGORIES=	www graphics linux
MASTER_SITES=	http://download.macromedia.com/pub/shockwave/flash/english/linux/4.0r12/
DISTNAME=	flash_linux

MAINTAINER=	matt@LUCIDA.QC.CA

RUN_DEPENDS=	/compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base

ONLY_FOR_ARCHS=	i386
NO_CDROM=	"Redistribution not allowed"
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/Linux

PLUGINSDIR=	lib/netscape-linux/plugins
LIBFILES=	libflashplayer.so \
		ShockwaveFlash.class

PLIST_SUB=	PLUGINSDIR="${PLUGINSDIR}"

do-install:
	${MKDIR} ${PREFIX}/lib/flash
	${MKDIR} ${PREFIX}/share/doc/flash
	${MKDIR} ${PREFIX}/${PLUGINSDIR}
.for f in ${LIBFILES}
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/flash/
	${LN} -sf ${PREFIX}/lib/flash/${f} ${PREFIX}/${PLUGINSDIR}/
.endfor
	${INSTALL_DATA} ${WRKSRC}/README.Linux ${PREFIX}/share/doc/flash/

.include <bsd.port.mk>
OpenPOWER on IntegriCloud