# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # linux-f10-flashplugin11 # linux-f10-flashplugin11/Makefile # linux-f10-flashplugin11/distinfo # linux-f10-flashplugin11/pkg-descr # linux-f10-flashplugin11/pkg-plist # echo c - linux-f10-flashplugin11 mkdir -p linux-f10-flashplugin11 > /dev/null 2>&1 echo x - linux-f10-flashplugin11/Makefile sed 's/^X//' >linux-f10-flashplugin11/Makefile << '8a937900edc204a9cc0a14b5bfa4a36e' X# New ports collection makefile for: www/linux-f10-flashplugin11 X# Date created: 5 Oct. 2011 X# Whom: Naoki Tsurutani X# Based on: www/linux-f10-flashplugin10 X# X# $FreeBSD$ X# X XPORTNAME= flashplugin XPORTVERSION= 11.0r1.152 XCATEGORIES= www multimedia linux XMASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/:plugin \ X ftp://ftp.ipt.ru/pub/download/:suplib XPKGNAMEPREFIX= linux-f10- XDISTFILES= install_flash_player_11_linux.i386.tar.gz:plugin \ X linux-f10-flashsupport-9.0.1.i386.tar.gz:suplib XDIST_SUBDIR= ${PORTNAME}/${PORTVERSION} X XMAINTAINER= turutani@scphys.kyoto-u.ac.jp XCOMMENT= Adobe Flash Player NPAPI Plugin X XONLY_FOR_ARCHS= amd64 i386 XUSE_LINUX= yes XUSE_LINUX_APPS= openssl curl cyrus-sasl2 libssh2 nspr nss openldap gtk2 XWANT_GNOME= yes X XRESTRICTED= Redistribution not allowed XRESTRICTED_FILES= ${DISTFILES:Nlinux-f10-flashsupport*:C/:[^:]+$//} X XNO_BUILD= yes XWRKSRC= ${WRKDIR} X XUSE_NPAPI= linux-* XNPAPI_FILES= libflashplayer.so X XCONFLICTS= linux-flashplugin-7* linux-flashplugin-9* linux-f8-flashplugin10* linux-f10-flashplugin10* X XOPTIONS= GNOME "include gnome support for .desktop file" Off X X.include X X.ifndef(WITHOUT_GNOME) XINSTALLS_ICONS= yes XUSE_GNOME= desktopfileutils XPLIST_SUB+= GNOME="" X.else XPLIST_SUB+= GNOME="@comment " X.endif X Xpost-patch: X @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' -e '/^NotShowIn=KDE/d' ${WRKDIR}/usr/share/applications/flash-player-properties.desktop X Xpost-install: X @${INSTALL_PROGRAM} ${WRKDIR}/libflashsupport.so ${LINUXBASE}/usr/lib X @${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/flash-player-properties ${PREFIX}/bin X @${MKDIR} ${PREFIX}/share/applications/ X @${INSTALL_DATA} ${WRKDIR}/usr/share/applications/flash-player-properties.desktop ${DESKTOPDIR} X @(cd ${WRKDIR}/usr/share/icons && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons) X -@update-desktop-database X X.include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi" X.include 8a937900edc204a9cc0a14b5bfa4a36e echo x - linux-f10-flashplugin11/distinfo sed 's/^X//' >linux-f10-flashplugin11/distinfo << '46d4ff844f26271067d899b6d2e83be4' XSHA256 (flashplugin/11.0r1.152/install_flash_player_11_linux.i386.tar.gz) = 3532ee49eda0845597084a805e11985f9fd9c5f7b5b72f592ceb18529da918c1 XSIZE (flashplugin/11.0r1.152/install_flash_player_11_linux.i386.tar.gz) = 6742944 XSHA256 (flashplugin/11.0r1.152/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 4a309b1a326bd2212cc72480628659e5a7fd61d9e0572cb7350c206f030955bf XSIZE (flashplugin/11.0r1.152/linux-f10-flashsupport-9.0.1.i386.tar.gz) = 3455 46d4ff844f26271067d899b6d2e83be4 echo x - linux-f10-flashplugin11/pkg-descr sed 's/^X//' >linux-f10-flashplugin11/pkg-descr << '6133997fe95c896eb8bd304feaae3d6d' XThis is the official Flash Player from Adobe. This plugin enables Xyou to see .swf and .spl files on the 'net from your Opera, Mozilla or XFirefox sessions. X XPlease see the Adobe home page for more information. X XFreeBSD Flash License Agreement: X http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/96374 X XWWW: http://www.adobe.com/ 6133997fe95c896eb8bd304feaae3d6d echo x - linux-f10-flashplugin11/pkg-plist sed 's/^X//' >linux-f10-flashplugin11/pkg-plist << '14b6ae972809b12ce0cdd1a38330bafa' Xbin/flash-player-properties Xshare/applications/flash-player-properties.desktop Xshare/icons/hicolor/16x16/apps/flash-player-properties.png Xshare/icons/hicolor/22x22/apps/flash-player-properties.png Xshare/icons/hicolor/24x24/apps/flash-player-properties.png Xshare/icons/hicolor/32x32/apps/flash-player-properties.png Xshare/icons/hicolor/48x48/apps/flash-player-properties.png X@dirrmtry share/icons/hicolor/16x16/apps X@dirrmtry share/icons/hicolor/22x22/apps X@dirrmtry share/icons/hicolor/24x24/apps X@dirrmtry share/icons/hicolor/32x32/apps X@dirrmtry share/icons/hicolor/48x48/apps X@dirrmtry share/icons/hicolor/16x16 X@dirrmtry share/icons/hicolor/22x22 X@dirrmtry share/icons/hicolor/24x24 X@dirrmtry share/icons/hicolor/32x32 X@dirrmtry share/icons/hicolor/48x48 X@dirrmtry share/icons/hicolor X@dirrmtry share/icons X@dirrmtry share/applications X@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null 2>&1 || /usr/bin/true X@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null 2>&1 || /usr/bin/true X@cwd /compat/linux Xusr/lib/libflashsupport.so X@cwd 14b6ae972809b12ce0cdd1a38330bafa exit