blob: 3df703ce35d3b469f350d6f6411cc9dedad205fd (
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
|
# Created by: Artyom Mirgorodskiy <artyom.mirgorodsky@gmail.com>
# $FreeBSD$
PORTNAME= flashplayer
PORTVERSION= 26.0.0.126
CATEGORIES= www multimedia linux
MASTER_SITES= https://fpdownload.macromedia.com/get/flashplayer/pdc/${PORTVERSION}/
PKGNAMEPREFIX= linux-
DISTFILES= flash_player_npapi_linux.i386.tar.gz
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= emulation@FreeBSD.org
COMMENT= Adobe Flash Player NPAPI Plugin
ONLY_FOR_ARCHS= amd64 i386
USES= cpe linux webplugin:linux
CPE_VENDOR= adobe
CPE_PRODUCT= flash_player
USE_LINUX= alsalib alsa-plugins-oss curl dri gtk2 nspr nss
WEBPLUGIN_FILES=libflashplayer.so
RESTRICTED= Redistribution not allowed
NO_BUILD= yes
NO_WRKSUBDIR= yes
STRIP=
post-patch:
@${REINPLACE_CMD} '/^NotShowIn=KDE/d' \
${WRKSRC}/usr/share/applications/flash-player-properties.desktop
do-install:
${MKDIR} ${STAGEDIR}${WEBPLUGIN_DIR}
${INSTALL_LIB} ${WRKSRC}/libflashplayer.so ${STAGEDIR}${WEBPLUGIN_DIR}
${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/flash-player-properties ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/usr/share/applications/flash-player-properties.desktop ${STAGEDIR}${DESKTOPDIR}
(cd ${WRKSRC}/usr/share/icons && ${COPYTREE_SHARE} hicolor ${STAGEDIR}${PREFIX}/share/icons)
.include <bsd.port.mk>
|