aboutsummaryrefslogtreecommitdiff
path: root/deskutils/gnome-shell-extension-lockkeys
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/gnome-shell-extension-lockkeys')
-rw-r--r--deskutils/gnome-shell-extension-lockkeys/Makefile48
-rw-r--r--deskutils/gnome-shell-extension-lockkeys/distinfo2
-rw-r--r--deskutils/gnome-shell-extension-lockkeys/pkg-descr3
-rw-r--r--deskutils/gnome-shell-extension-lockkeys/pkg-plist17
4 files changed, 70 insertions, 0 deletions
diff --git a/deskutils/gnome-shell-extension-lockkeys/Makefile b/deskutils/gnome-shell-extension-lockkeys/Makefile
new file mode 100644
index 000000000000..f8a497d30e23
--- /dev/null
+++ b/deskutils/gnome-shell-extension-lockkeys/Makefile
@@ -0,0 +1,48 @@
+# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
+# $FreeBSD$
+# $MCom: ports/trunk/deskutils/gnome-shell-extension-lockkeys/Makefile 19680 2014-05-23 14:40:39Z gusi $
+
+PORTNAME= gnome-shell-extension-lockkeys
+PORTVERSION= 0.0.0.20140520
+CATEGORIES= deskutils gnome
+DIST_SUBDIR= gnome3
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Gnome-shell Numlock and Capslock indicator
+
+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}/kazysmaster-gnome-shell-extension-lockkeys-12f5317
+
+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.lockkeys.gschema.xml
+
+GH_ACCOUNT= kazysmaster
+GH_TAGNAME= 12f5317194
+GH_COMMIT= 12f5317194
+
+PKGMESSAGE= ../gnome-shell-extra-extensions/pkg-message.slaves
+
+NO_BUILD= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|3.10|3.10","3.12|g' \
+ ${WRKSRC}/lockkeys\@vaina.lt/metadata.json
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/
+ @(cd ${WRKSRC} && ${CP} lockkeys\@vaina.lt/schemas/org.gnome.shell.extensions.lockkeys.gschema.xml \
+ ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/)
+ @${RM} -fr ${WRKSRC}/lockkeys\@vaina.lt/schemas/
+ @(cd ${WRKSRC} && ${CP} -pPR lockkeys\@vaina.lt \
+ ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/)
+
+.include <bsd.port.mk>
diff --git a/deskutils/gnome-shell-extension-lockkeys/distinfo b/deskutils/gnome-shell-extension-lockkeys/distinfo
new file mode 100644
index 000000000000..074f7d95d6a9
--- /dev/null
+++ b/deskutils/gnome-shell-extension-lockkeys/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gnome3/gnome-shell-extension-lockkeys-0.0.0.20140520.tar.xz) = 8858a3f73a339b4836585f3c3fe29ab9f5884a5c45ef0fff578110df20a54e99
+SIZE (gnome3/gnome-shell-extension-lockkeys-0.0.0.20140520.tar.xz) = 33734
diff --git a/deskutils/gnome-shell-extension-lockkeys/pkg-descr b/deskutils/gnome-shell-extension-lockkeys/pkg-descr
new file mode 100644
index 000000000000..c5765b8c555c
--- /dev/null
+++ b/deskutils/gnome-shell-extension-lockkeys/pkg-descr
@@ -0,0 +1,3 @@
+Numlock and Capslock indicator for gnome-shell.
+
+WWW: https://github.com/kazysmaster/gnome-shell-extension-lockkeys
diff --git a/deskutils/gnome-shell-extension-lockkeys/pkg-plist b/deskutils/gnome-shell-extension-lockkeys/pkg-plist
new file mode 100644
index 000000000000..deac7022f070
--- /dev/null
+++ b/deskutils/gnome-shell-extension-lockkeys/pkg-plist
@@ -0,0 +1,17 @@
+share/gnome-shell/extensions/lockkeys@vaina.lt/extension.js
+share/gnome-shell/extensions/lockkeys@vaina.lt/icons/capslock-disabled-symbolic.svg
+share/gnome-shell/extensions/lockkeys@vaina.lt/icons/capslock-enabled-symbolic.svg
+share/gnome-shell/extensions/lockkeys@vaina.lt/icons/numlock-disabled-symbolic.svg
+share/gnome-shell/extensions/lockkeys@vaina.lt/icons/numlock-enabled-symbolic.svg
+share/gnome-shell/extensions/lockkeys@vaina.lt/locale/de/LC_MESSAGES/lockkeys.mo
+share/gnome-shell/extensions/lockkeys@vaina.lt/locale/es/LC_MESSAGES/lockkeys.mo
+share/gnome-shell/extensions/lockkeys@vaina.lt/locale/fr/LC_MESSAGES/lockkeys.mo
+share/gnome-shell/extensions/lockkeys@vaina.lt/locale/lt/LC_MESSAGES/lockkeys.mo
+share/gnome-shell/extensions/lockkeys@vaina.lt/locale/pl/LC_MESSAGES/lockkeys.mo
+share/gnome-shell/extensions/lockkeys@vaina.lt/locale/sv/LC_MESSAGES/lockkeys.mo
+share/gnome-shell/extensions/lockkeys@vaina.lt/locale/zh_CN/LC_MESSAGES/lockkeys.mo
+share/gnome-shell/extensions/lockkeys@vaina.lt/lockkeys.pot
+share/gnome-shell/extensions/lockkeys@vaina.lt/metadata.json
+share/gnome-shell/extensions/lockkeys@vaina.lt/prefs.js
+share/gnome-shell/extensions/lockkeys@vaina.lt/stylesheet.css
+share/gnome-shell/extensions/lockkeys@vaina.lt/utils.js