# Created by: Artyom Mirgorodskiy # $FreeBSD$ PORTNAME= flashplayer PORTVERSION= 26.0.0.131 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