mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Stagify linux-f10-flashplayer. This makes all my ports STAGEDIR safe!
Submitted by: bapt
This commit is contained in:
parent
30e77848f2
commit
e4c1dd0fcd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333650
@ -25,15 +25,16 @@ RESTRICTED_FILES= ${DISTFILES:Nlinux-f10-flashsupport*:C/:[^:]+$//}
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
USE_NPAPI= linux-*
|
||||
NPAPI_FILES= libflashplayer.so
|
||||
USES= webplugin:linux
|
||||
WEBPLUGIN_NAME= # empty
|
||||
WEBPLUGIN_FILES= libflashplayer.so
|
||||
|
||||
OPTIONS_DEFINE= GNOME
|
||||
GNOME_DESC= include gnome support for .desktop file
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
PLIST_SUB+=RESETPREFIX=${PREFIX}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MGNOME}
|
||||
@ -44,12 +45,12 @@ INSTALLS_ICONS= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' -e '/^NotShowIn=KDE/d' ${WRKDIR}/usr/share/applications/flash-player-properties.desktop
|
||||
|
||||
post-install:
|
||||
${INSTALL_PROGRAM} ${WRKDIR}/libflashsupport.so ${LINUXBASE}/usr/lib
|
||||
${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/flash-player-properties ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKDIR}/usr/share/applications/flash-player-properties.desktop ${DESKTOPDIR}
|
||||
(cd ${WRKDIR}/usr/share/icons && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons)
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${WEBPLUGIN_DIR} ${STAGEDIR}${LINUXBASE}/usr/lib
|
||||
${INSTALL_LIB} ${WRKDIR}/libflashplayer.so ${STAGEDIR}${WEBPLUGIN_DIR}
|
||||
${INSTALL_LIB} ${WRKDIR}/libflashsupport.so ${STAGEDIR}${LINUXBASE}/usr/lib
|
||||
${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/flash-player-properties ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKDIR}/usr/share/applications/flash-player-properties.desktop ${STAGEDIR}${DESKTOPDIR}
|
||||
(cd ${WRKDIR}/usr/share/icons && ${COPYTREE_SHARE} hicolor ${STAGEDIR}${PREFIX}/share/icons)
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi"
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +1,11 @@
|
||||
bin/flash-player-properties
|
||||
%%WEBPLUGIN_DIR%%libflashplayer.so
|
||||
share/applications/flash-player-properties.desktop
|
||||
share/icons/hicolor/16x16/apps/flash-player-properties.png
|
||||
share/icons/hicolor/22x22/apps/flash-player-properties.png
|
||||
share/icons/hicolor/24x24/apps/flash-player-properties.png
|
||||
share/icons/hicolor/32x32/apps/flash-player-properties.png
|
||||
share/icons/hicolor/48x48/apps/flash-player-properties.png
|
||||
@dirrmtry lib/npapi
|
||||
@dirrmtry share/icons/hicolor/16x16/apps
|
||||
@dirrmtry share/icons/hicolor/22x22/apps
|
||||
@dirrmtry share/icons/hicolor/24x24/apps
|
||||
@ -18,6 +18,7 @@ share/icons/hicolor/48x48/apps/flash-player-properties.png
|
||||
@dirrmtry share/icons/hicolor/48x48
|
||||
@dirrmtry share/icons/hicolor
|
||||
@dirrmtry share/icons
|
||||
@dirrmtry %%WEBPLUGIN_DIR%%
|
||||
@cwd /compat/linux
|
||||
usr/lib/libflashsupport.so
|
||||
@cwd
|
||||
@cwd %%RESETPREFIX%%
|
||||
|
Loading…
Reference in New Issue
Block a user