diff options
author | olivierd <olivierd@FreeBSD.org> | 2014-01-10 17:55:58 +0800 |
---|---|---|
committer | olivierd <olivierd@FreeBSD.org> | 2014-01-10 17:55:58 +0800 |
commit | 676f6e4a4b41e3dae3162fafd3d581fa846f3e9b (patch) | |
tree | 9e6e2c5fdca65ae8356decab4bcec04ebbd36aa2 /x11-themes | |
parent | 75418e755cb78dd2c0b5ad9874199538c52b8102 (diff) | |
download | freebsd-ports-gnome-676f6e4a4b41e3dae3162fafd3d581fa846f3e9b.tar.gz freebsd-ports-gnome-676f6e4a4b41e3dae3162fafd3d581fa846f3e9b.tar.zst freebsd-ports-gnome-676f6e4a4b41e3dae3162fafd3d581fa846f3e9b.zip |
- Add NOTIFYD option to install xfce4-notifyd theme
- Bump PORTREVISION
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/numix-theme/Makefile | 16 | ||||
-rw-r--r-- | x11-themes/numix-theme/pkg-plist | 2 |
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 |