Update deskutils/fet to version 5.31.5
[dports.git] / deskutils / gnome-shell-extension-hidetopbar / Makefile
1 # Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
2 # $FreeBSD$
3
4 PORTNAME=       gnome-shell-extension-hidetopbar
5 PORTVERSION=    0.0.0.20151025
6 CATEGORIES=     deskutils gnome
7 DIST_SUBDIR=    gnome3
8
9 MAINTAINER=     gnome@FreeBSD.org
10 COMMENT=        Hide the topbar except in overview mode
11
12 BUILD_DEPENDS=  gnome-shell>=0:x11/gnome-shell \
13                 gsettings-desktop-schemas>=3.12.0:devel/gsettings-desktop-schemas
14 RUN_DEPENDS=    gnome-shell>=0:x11/gnome-shell \
15                 gsettings-desktop-schemas>=3.12.0:devel/gsettings-desktop-schemas
16
17 USES=           gettext gmake gnome pkgconfig
18 USE_GNOME=      glib20
19 USE_GITHUB=     yes
20 CPPFLAGS+=      -I${LOCALBASE}/include
21 LDFLAGS+=       -L${LOCALBASE}/lib
22 GLIB_SCHEMAS=   org.gnome.shell.extensions.hidetopbar.gschema.xml
23
24 GH_ACCOUNT=     mlutfy
25 GH_PROJECT=     hidetopbar
26 GH_TAGNAME=     2a899bf
27
28 PKGMESSAGE=     ../gnome-shell-extra-extensions/pkg-message.slaves
29
30 NO_BUILD=       yes
31
32 do-install:
33         @${MKDIR} ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
34         @${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca
35         ${INSTALL_DATA} ${WRKSRC}/org.gnome.shell.extensions.hidetopbar.gschema.xml \
36                 ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
37         @${RM} -r ${WRKSRC}/org.gnome.shell.extensions.hidetopbar.gschema.xml
38         cd ${WRKSRC} && ${COPYTREE_SHARE} . \
39                 ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/
40
41 .include <bsd.port.mk>