aboutsummaryrefslogtreecommitdiff
path: root/x11-themes
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2014-01-10 09:55:58 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2014-01-10 09:55:58 +0000
commitecb0e175e3368082d4648bae5330bda1828a3d90 (patch)
tree9e6e2c5fdca65ae8356decab4bcec04ebbd36aa2 /x11-themes
parentc995ccbca0965016190f0f8fd0239033eb4f5095 (diff)
downloadports-ecb0e175e3368082d4648bae5330bda1828a3d90.tar.gz
ports-ecb0e175e3368082d4648bae5330bda1828a3d90.zip
Notes
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/numix-theme/Makefile16
-rw-r--r--x11-themes/numix-theme/pkg-plist2
2 files changed, 18 insertions, 0 deletions
diff --git a/x11-themes/numix-theme/Makefile b/x11-themes/numix-theme/Makefile
index 1630df2d2bef..e45a05317345 100644
--- a/x11-themes/numix-theme/Makefile
+++ b/x11-themes/numix-theme/Makefile
@@ -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>
diff --git a/x11-themes/numix-theme/pkg-plist b/x11-themes/numix-theme/pkg-plist
index c9dfb34f9ec8..829d77a5782d 100644
--- a/x11-themes/numix-theme/pkg-plist
+++ b/x11-themes/numix-theme/pkg-plist
@@ -50,6 +50,7 @@ share/themes/Numix/gtk-3.0/gtk-widgets-assets.css
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-inactive.xpm
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