svn commit: r442259 - head/x11-themes/gtk-qnxtheme
Pawel Pekala
pawel at FreeBSD.org
Wed May 31 19:25:36 UTC 2017
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 at 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>
More information about the svn-ports-head
mailing list