svn commit: r438450 - head/sysutils/nvclock
Alexey Dokuchaev
danfe at FreeBSD.org
Thu Apr 13 15:34:26 UTC 2017
Author: danfe
Date: Thu Apr 13 15:34:24 2017
New Revision: 438450
URL: https://svnweb.freebsd.org/changeset/ports/438450
Log:
Use option helper variable when defining INSTALLS_ICONS knob.
Modified:
head/sysutils/nvclock/Makefile
Modified: head/sysutils/nvclock/Makefile
==============================================================================
--- head/sysutils/nvclock/Makefile Thu Apr 13 14:56:45 2017 (r438449)
+++ head/sysutils/nvclock/Makefile Thu Apr 13 15:34:24 2017 (r438450)
@@ -30,15 +30,10 @@ NVCONTROL_USES= pkgconfig
NVCONTROL_CONFIGURE_OFF= --disable-nvcontrol
X11_USE= GNOME=gtk20
+X11_CONFIGURE_OFF= --disable-gtk
+X11_VARS= INSTALLS_ICONS=yes
X11_PLIST_FILES= bin/nvclock_gtk share/applications/nvclock.desktop \
share/icons/hicolor/48x48/apps/nvclock.png
-X11_CONFIGURE_OFF= --disable-gtk
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MX11}
-INSTALLS_ICONS= yes
-.endif
post-patch:
# Uphold our C[XX]FLAGS except for backend part, it must be compiled with -O0
More information about the svn-ports-head
mailing list