freebsd-ports/www/linux-flashplugin6/Makefile
Pav Lucistnik 92fd0ef654 - This works on amd64
PR:		ports/81331
Reported by:	Damian Gerow <dgerow@afflictions.org>
2005-05-21 11:36:01 +00:00

51 lines
1.4 KiB
Makefile

# New ports collection makefile for: linux-flashplugin6
# Date created: 23 February 2003
# Whom: Brandon D. Valentine <ports@brandon.dvalentine.com>
#
# $FreeBSD$
#
PORTNAME= flashplugin
PORTVERSION= 6.0r79
PORTREVISION= 2
CATEGORIES= www multimedia linux
MASTER_SITES= http://download.macromedia.com/pub/shockwave/flash/english/linux/${PORTVERSION}/
PKGNAMEPREFIX= linux-
DISTNAME= install_flash_player_6_linux
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@brandon.dvalentine.com
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= amd64 i386
RESTRICTED= "Redistribution not allowed"
NO_BUILD= yes
WRKSRC= ${WRKDIR}/install_flash_player_6_linux
LATEST_LINK= flash6
PLUGINSDIR= lib/linux-mozilla/plugins
LIBFILES= libflashplayer.so flashplayer.xpt
DOCSDIR?= ${PREFIX}/share/doc/${UNIQUENAME}
PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}"
do-install:
@${MKDIR} ${PREFIX}/lib/linux-flashplugin6
.for f in ${LIBFILES}
@${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/linux-flashplugin6
.if exists(${PLUGINSDIR})
@${LN} -sf ${PREFIX}/lib/linux-flashplugin6/${f} ${PREFIX}/${PLUGINSDIR}
.endif
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/readme.htm ${DOCSDIR}
.endif
.include <bsd.port.mk>