1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Cleanup Makefile

Remove redundant @exec
This commit is contained in:
Baptiste Daroussin 2015-01-19 21:24:38 +00:00
parent 0a17e081ec
commit 01f6e4d374
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377484
2 changed files with 2 additions and 11 deletions

View File

@ -23,15 +23,8 @@ USES= desktop-file-utils python
INSTALLS_ICONS= yes
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
OPTIONS_SUB= yes
NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} \

View File

@ -560,5 +560,3 @@ share/icons/hicolor/scalable/apps/gaupol.svg
%%NLS%%share/locale/ru/LC_MESSAGES/gaupol.mo
%%NLS%%share/locale/sv/LC_MESSAGES/gaupol.mo
%%NLS%%share/locale/tr/LC_MESSAGES/gaupol.mo
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true