svn commit: r339342 - head/x11-themes/numix-theme

Olivier Duchateau olivierd at FreeBSD.org
Fri Jan 10 09:55:59 UTC 2014


Author: olivierd
Date: Fri Jan 10 09:55:58 2014
New Revision: 339342
URL: http://svnweb.freebsd.org/changeset/ports/339342

Log:
  - Add NOTIFYD option to install xfce4-notifyd theme
  - Bump PORTREVISION

Modified:
  head/x11-themes/numix-theme/Makefile
  head/x11-themes/numix-theme/pkg-plist

Modified: head/x11-themes/numix-theme/Makefile
==============================================================================
--- head/x11-themes/numix-theme/Makefile	Fri Jan 10 09:52:35 2014	(r339341)
+++ head/x11-themes/numix-theme/Makefile	Fri Jan 10 09:55:58 2014	(r339342)
@@ -3,6 +3,7 @@
 
 PORTNAME=	numix
 PORTVERSION=	2.1
+PORTREVISION=	1
 CATEGORIES=	x11-themes xfce
 MASTER_SITES=	GH GHC
 PKGNAMESUFFIX=	-theme
@@ -23,6 +24,12 @@ USE_GITHUB=	yes
 NO_BUILD=	yes
 USE_GNOME=	gtk30
 
+OPTIONS_DEFINE=	NOTIFYD
+OPTIONS_DEFAULT=	NOTIFYD
+NOTIFYD_DESC=	Install xfce4-notifyd theme
+
+.include <bsd.port.options.mk>
+
 post-extract:
 # Remove Unity theme
 	@${RM} ${WRKSRC}/gtk-3.0/apps/unity.css
@@ -38,4 +45,13 @@ do-install:
 		${COPYTREE_SHARE} ${dir} ${STAGEDIR}${PREFIX}/share/themes/Numix
 .endfor
 
+.if ${PORT_OPTIONS:MNOTIFYD}
+	@cd ${WRKSRC} && \
+		${COPYTREE_SHARE} xfce-notify-4.0 \
+		${STAGEDIR}${PREFIX}/share/themes/Numix
+PLIST_SUB+=	NOTIFYD=""
+.else
+PLIST_SUB+=	NOTIFYD="@comment "
+.endif
+
 .include <bsd.port.mk>

Modified: head/x11-themes/numix-theme/pkg-plist
==============================================================================
--- head/x11-themes/numix-theme/pkg-plist	Fri Jan 10 09:52:35 2014	(r339341)
+++ head/x11-themes/numix-theme/pkg-plist	Fri Jan 10 09:55:58 2014	(r339342)
@@ -50,6 +50,7 @@ share/themes/Numix/gtk-3.0/gtk-widgets-a
 share/themes/Numix/gtk-3.0/gtk-widgets.css
 share/themes/Numix/gtk-3.0/gtk.css
 share/themes/Numix/gtk-3.0/settings.ini
+%%NOTIFYD%%share/themes/Numix/xfce-notify-4.0/gtkrc
 share/themes/Numix/xfwm4/bottom-active.xpm
 share/themes/Numix/xfwm4/bottom-inactive.xpm
 share/themes/Numix/xfwm4/bottom-left-active.xpm
@@ -100,6 +101,7 @@ share/themes/Numix/xfwm4/top-left-inacti
 share/themes/Numix/xfwm4/top-right-active.xpm
 share/themes/Numix/xfwm4/top-right-inactive.xpm
 @dirrm share/themes/Numix/xfwm4
+%%NOTIFYD%%@dirrm share/themes/Numix/xfce-notify-4.0
 @dirrm share/themes/Numix/gtk-3.0/assets
 @dirrm share/themes/Numix/gtk-3.0/apps
 @dirrm share/themes/Numix/gtk-3.0


More information about the svn-ports-all mailing list