Switch to USES=desktop-file-utils, and sort USES.

Fix build with pkg in DEVELOPER_MODE, by not trying to remove non existing
directories. [1]

Submitted by:	miwi [1]
This commit is contained in:
Koop Mast 2013-06-12 06:58:52 +00:00
parent 1d182b643a
commit ce529a68ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320666
2 changed files with 3 additions and 10 deletions

View file

@ -29,8 +29,8 @@ USE_LDCONFIG= yes
INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_PYTHON= yes
USES= pathfix gettext
USE_GNOME= gnomeprefix intlhack gnomedesktop desktopfileutils
USES= desktop-file-utils gettext pathfix
USE_GNOME= gnomeprefix intlhack gnomedesktop
GNU_CONFIGURE= yes
USE_GMAKE= yes
INSTALLS_OMF= yes
@ -76,7 +76,5 @@ post-patch:
-e 's|EPIPHANY_API_VERSION=2.29|EPIPHANY_API_VERSION=2.30|g' \
${WRKSRC}/configure
post-install:
@-update-desktop-database
.include <bsd.port.mk>

View file

@ -401,14 +401,9 @@ share/omf/epiphany/epiphany-uk.omf
@dirrmtry %%DATADIR%%
@dirrmtry %%DOCSDIR%%
@dirrmtry share/applications
@dirrmtry lib/epiphany/%%EPHY_VERSION%%/plugins
@dirrmtry lib/epiphany/%%EPHY_VERSION%%
@dirrmtry lib/epiphany
@dirrm include/epiphany/%%EPHY_VERSION%%/epiphany
@dirrm include/epiphany/%%EPHY_VERSION%%
@dirrm include/epiphany
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@dirrmtry share/locale/zh_HK/LC_MESSAGES
@dirrmtry share/locale/zh_HK
@dirrmtry share/locale/yo/LC_MESSAGES