Date: Wed, 31 May 2017 19:25:35 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442259 - head/x11-themes/gtk-qnxtheme Message-ID: <201705311925.v4VJPZQJ001547@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Wed May 31 19:25:35 2017 New Revision: 442259 URL: https://svnweb.freebsd.org/changeset/ports/442259 Log: - Mark port as architecture neutral - Use options helpers - Remove deprecated WANT_GNOME Modified: head/x11-themes/gtk-qnxtheme/Makefile Modified: head/x11-themes/gtk-qnxtheme/Makefile ============================================================================== --- head/x11-themes/gtk-qnxtheme/Makefile Wed May 31 19:12:41 2017 (r442258) +++ head/x11-themes/gtk-qnxtheme/Makefile Wed May 31 19:25:35 2017 (r442259) @@ -11,24 +11,17 @@ DISTNAME= 3414-qnxtheme-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= QNX-inspired theme for GTK1 and GTK2 -OPTIONS_DEFINE= GTK2 -OPTIONS_DEFAULT= GTK2 -GTK2_DESC= Build the GTK2 theme as well - +NO_ARCH= yes NO_WRKSUBDIR= yes NO_BUILD= yes -WANT_GNOME= yes +OPTIONS_DEFINE= GTK2 +OPTIONS_DEFAULT= GTK2 +OPTIONS_SUB= yes -.include <bsd.port.options.mk> +GTK2_DESC= Build the GTK2 theme as well +GTK2_USE= GNOME=gtk20 -.if ${PORT_OPTIONS:MGTK2} -USE_GNOME= gtk20 -PLIST_SUB+= GTK2="" -.else -PLIST_SUB+= GTK2="@comment " -.endif - post-patch: .for file in gtk/gtkrc gtk-2.0/gtkrc @${REINPLACE_CMD} -i "" -e \ @@ -42,10 +35,10 @@ do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/themes/qnxtheme/gtk @(cd ${WRKSRC}/QNX/gtk \ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/themes/qnxtheme/gtk) -.if ${PORT_OPTIONS:MGTK2} + +do-install-GTK2-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/themes/qnxtheme/gtk-2.0 @(cd ${WRKSRC}/QNX/gtk-2.0 \ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/themes/qnxtheme/gtk-2.0) -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705311925.v4VJPZQJ001547>