diff options
Diffstat (limited to 'deskutils/gnome-shell-extension-hidetopbar/Makefile')
-rw-r--r-- | deskutils/gnome-shell-extension-hidetopbar/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/deskutils/gnome-shell-extension-hidetopbar/Makefile b/deskutils/gnome-shell-extension-hidetopbar/Makefile new file mode 100644 index 000000000..181f6fce7 --- /dev/null +++ b/deskutils/gnome-shell-extension-hidetopbar/Makefile @@ -0,0 +1,45 @@ +# Created by: Gustau Perez i Querol <gustau.perez@gmail.com> +# $FreeBSD$ +# $MCom$ + +PORTNAME= gnome-shell-extension-hidetopbar +PORTVERSION= 0.0.0.20140520 +CATEGORIES= deskutils gnome +DIST_SUBDIR= gnome3 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Hide the topbar except in overview mode + +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}/mlutfy-hidetopbar-42b0b25 + +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.hidetopbar.gschema.xml + +GH_ACCOUNT= mlutfy +GH_TAGNAME= 42b0b256fd +GH_COMMIT= 42b0b256fd +GH_PROJECT= hidetopbar + +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/hidetopbar@mathieu.bidon.ca + @(cd ${WRKSRC} && ${CP} org.gnome.shell.extensions.hidetopbar.gschema.xml \ + ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/) + @${RM} -fr ${WRKSRC}/org.gnome.shell.extensions.hidetopbar.gschema.xml + @(cd ${WRKSRC} && ${CP} -pPR * \ + ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca) + +.include <bsd.port.mk> |