aboutsummaryrefslogtreecommitdiffstats
path: root/www/linux-flashplugin7/Makefile
blob: 19c727e56eb777c824634e39fcfe4b4ba747d568 (plain) (blame)
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
# New ports collection makefile for:    linux-flashplugin7
# Date created:             28 May 2004
# Whom:                 Jamie Jones <jamie@bishopston.net>
#
# $FreeBSD$
#

PORTNAME=   flashplugin
PORTVERSION=    7.0r25
PORTREVISION=   1
CATEGORIES= www multimedia linux
MASTER_SITES=   http://download.macromedia.com/pub/shockwave/flash/english/linux/${PORTVERSION}/
PKGNAMEPREFIX=  linux-
DISTNAME=   install_flash_player_7_linux
DIST_SUBDIR=    ${PORTNAME}/${PORTVERSION}

MAINTAINER= jamie@bishopston.net
COMMENT=    The official Macromedia Flash Player for Linux Mozilla and Netscape 6+

RUN_DEPENDS=    ${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFree86-libs

ONLY_FOR_ARCHS= i386

RESTRICTED= "Redistribution not allowed"

NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/install_flash_player_7_linux
LATEST_LINK=    flash7

LIBFILES=   libflashplayer.so flashplayer.xpt

DOCSDIR?=   ${PREFIX}/share/doc/${UNIQUENAME}

do-install:
    @${MKDIR} ${PREFIX}/lib/linux-flashplugin7
.for f in ${LIBFILES}
    @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/linux-flashplugin7
.endfor
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/Readme.txt ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/Readme.htm ${DOCSDIR}
.endif

.include <bsd.port.mk>