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:
parent
0a17e081ec
commit
01f6e4d374
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377484
@ -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} \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user