1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/x11-themes/greybird-theme/Makefile
2013-10-20 19:00:14 +00:00

58 lines
1.3 KiB
Makefile

# Created by: Olivier Duchateau
# $FreeBSD$
PORTNAME= greybird
PORTVERSION= 1.2.2
PORTREVISION= 1
CATEGORIES= x11-themes xfce
MASTER_SITES= GH GHC
PKGNAMESUFFIX= -theme
MAINTAINER= olivierd@FreeBSD.org
COMMENT= Gtk and xfwm4 themes for the Xfce Desktop
RUN_DEPENDS= gtk-murrine-engine>=0.98.1:${PORTSDIR}/x11-themes/gtk-murrine-engine \
gtk3-unico-engine>=1.0.2:${PORTSDIR}/x11-themes/gtk3-unico-engine
GH_ACCOUNT= shimmerproject
GH_PROJECT= Greybird
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= 6406ef6
USE_GITHUB= yes
NO_BUILD= yes
OPTIONS_DEFINE= NOTIFYD
OPTIONS_DEFAULT= NOTIFYD
NOTIFYD_DESC= Install xfce4-notifyd theme
.include <bsd.port.options.mk>
post-extract:
# Remove Unity and Lightdm themes
.for file in lightdm-*-greeter.css unity.css
@${RM} ${WRKSRC}/gtk-3.0/apps/${file}
.endfor
post-patch:
# Remove .orig file
@${RM} ${WRKSRC}/gtk-?.0/*.orig
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/themes/Greybird
.for dir in gtk-2.0 gtk-3.0 xfwm4
@cd ${WRKSRC} && \
${COPYTREE_SHARE} ${dir} ${STAGEDIR}${PREFIX}/share/themes/Greybird
.endfor
.if ${PORT_OPTIONS:MNOTIFYD}
@cd ${WRKSRC} && \
${COPYTREE_SHARE} xfce-notify-4.0/ \
${STAGEDIR}${PREFIX}/share/themes/Greybird
PLIST_SUB+= NOTIFYD=""
.else
PLIST_SUB+= NOTIFYD="@comment "
.endif
.include <bsd.port.mk>