svn commit: r377484 - head/multimedia/gaupol

Baptiste Daroussin bapt at FreeBSD.org
Mon Jan 19 21:24:39 UTC 2015


Author: bapt
Date: Mon Jan 19 21:24:38 2015
New Revision: 377484
URL: https://svnweb.freebsd.org/changeset/ports/377484
QAT: https://qat.redports.org/buildarchive/r377484/

Log:
  Cleanup Makefile
  Remove redundant @exec

Modified:
  head/multimedia/gaupol/Makefile
  head/multimedia/gaupol/pkg-plist

Modified: head/multimedia/gaupol/Makefile
==============================================================================
--- head/multimedia/gaupol/Makefile	Mon Jan 19 21:21:43 2015	(r377483)
+++ head/multimedia/gaupol/Makefile	Mon Jan 19 21:24:38 2015	(r377484)
@@ -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} \

Modified: head/multimedia/gaupol/pkg-plist
==============================================================================
--- head/multimedia/gaupol/pkg-plist	Mon Jan 19 21:21:43 2015	(r377483)
+++ head/multimedia/gaupol/pkg-plist	Mon Jan 19 21:24:38 2015	(r377484)
@@ -560,5 +560,3 @@ share/icons/hicolor/scalable/apps/gaupol
 %%NLS%%share/locale/ru/LC_MESSAGES/gaupol.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/gaupol.mo
 %%NLS%%share/locale/tr/LC_MESSAGES/gaupol.mo
- at exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
- at unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true


More information about the svn-ports-head mailing list