1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Modernize linux-f10-flashplugin11

Reviewed by:	ak
This commit is contained in:
Eitan Adler 2013-06-14 19:10:11 +00:00
parent cb61062289
commit 3ba4f3e77c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320959
2 changed files with 5 additions and 10 deletions

View File

@ -35,14 +35,13 @@ CONFLICTS= linux-flashplugin-9* linux-f8-flashplugin10* linux-f10-flashplugin10*
OPTIONS_DEFINE= GNOME
GNOME_DESC= include gnome support for .desktop file
.include <bsd.port.pre.mk>
OPTIONS_SUB= yes
GNOME_USES= desktop-file-utils
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNOME}
INSTALLS_ICONS= yes
USE_GNOME= desktopfileutils
PLIST_SUB+= GNOME=""
.else
PLIST_SUB+= GNOME="@comment "
.endif
post-patch:
@ -54,9 +53,7 @@ post-install:
@${MKDIR} ${PREFIX}/share/applications/
@${INSTALL_DATA} ${WRKDIR}/usr/share/applications/flash-player-properties.desktop ${DESKTOPDIR}
@(cd ${WRKDIR}/usr/share/icons && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons)
.if ${PORT_OPTIONS:MGNOME}
@update-desktop-database
.endif
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi"
.include <bsd.port.post.mk>

View File

@ -19,8 +19,6 @@ share/icons/hicolor/48x48/apps/flash-player-properties.png
@dirrmtry share/icons/hicolor
@dirrmtry share/icons
@dirrmtry share/applications
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null 2>&1 || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null 2>&1 || /usr/bin/true
@cwd /compat/linux
usr/lib/libflashsupport.so
@cwd