2000-04-01 13:39:31 +00:00
|
|
|
# New ports collection makefile for: linux-flashplugin
|
|
|
|
# Date created: 13 Feburary 2000
|
|
|
|
# Whom: Matt Heckaman <matt@LUCIDA.QC.CA>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= linux-flashplugin
|
|
|
|
PORTVERSION= 4.0.r12
|
2000-04-01 13:39:31 +00:00
|
|
|
CATEGORIES= www graphics linux
|
|
|
|
MASTER_SITES= http://download.macromedia.com/pub/shockwave/flash/english/linux/4.0r12/
|
2000-04-10 00:07:29 +00:00
|
|
|
DISTNAME= flash_linux
|
2000-04-01 13:39:31 +00:00
|
|
|
|
|
|
|
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
|
2000-07-19 15:55:20 +00:00
|
|
|
${MKDIR} ${PREFIX}/${PLUGINSDIR}
|
2000-04-01 13:39:31 +00:00
|
|
|
.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>
|