Index: Makefile =================================================================== --- Makefile (revision 316348) +++ Makefile (working copy) @@ -35,16 +35,18 @@ OPTIONS_DEFINE= GNOME GNOME_DESC= include gnome support for .desktop file -.include +.include .if ${PORT_OPTIONS:MGNOME} INSTALLS_ICONS= yes -USE_GNOME= desktopfileutils +USES+= desktop-file-utils PLIST_SUB+= GNOME="" .else PLIST_SUB+= GNOME="@comment " .endif +.include + post-patch: @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' -e '/^NotShowIn=KDE/d' ${WRKDIR}/usr/share/applications/flash-player-properties.desktop @@ -54,9 +56,6 @@ @${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 "${PORTSDIR}/www/linux-mplayer-plugin/Makefile.npapi" .include Index: pkg-plist =================================================================== --- pkg-plist (revision 316348) +++ pkg-plist (working copy) @@ -19,8 +19,6 @@ @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