summaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-shell-extension-overlay-icons/Makefile
blob: c23f57741803edad8d1f497e42c79f129d3464f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$
#   $MCom$

PORTNAME=   gnome-shell-extension-overlay-icons
PORTVERSION=    0.0.0.20140520
CATEGORIES= deskutils gnome
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Show application icons on the windows overview

BUILD_DEPENDS=  gnome-shell>=0:${PORTSDIR}/x11/gnome-shell \
        gsettings-desktop-schemas>=3.12.0:${PORTSDIR}/devel/gsettings-desktop-schemas
RUN_DEPENDS=    gnome-shell>=0:${PORTSDIR}/x11/gnome-shell \
        gsettings-desktop-schemas>=3.12.0:${PORTSDIR}/devel/gsettings-desktop-schemas

WRKSRC=     ${WRKDIR}/sustmi-gnome-shell-extensions-sustmi-47266fa

USES=       gettext gmake pkgconfig tar:xz
USE_GNOME=  glib20
USE_GITHUB= yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
GLIB_SCHEMAS=   org.gnome.shell.extensions.windowoverlay-icons.gschema.xml

GH_ACCOUNT= sustmi
GH_TAGNAME= 47266fa129
GH_COMMIT=  47266fa129
GH_PROJECT= gnome-shell-extensions-sustmi

PKGMESSAGE= ../gnome-shell-extra-extensions/pkg-message.slaves

NO_BUILD=   yes

do-install:
        @${MKDIR} ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
        @${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/
        @(cd ${WRKSRC} && ${CP} windowoverlay-icons/schemas/org.gnome.shell.extensions.windowoverlay-icons.gschema.xml \
            ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/)
        @${RM} -fr ${WRKSRC}/windowoverlay-icons/schemas/
        @(cd ${WRKSRC} && ${CP} -pPR windowoverlay-icons \
            ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/windowoverlay-icons@sustmidown.centrum.cz)

.include <bsd.port.mk>