aboutsummaryrefslogtreecommitdiff
path: root/Keywords/glib-schemas.ucl
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2014-12-03 09:54:37 +0000
committerKoop Mast <kwm@FreeBSD.org>2014-12-03 09:54:37 +0000
commitb62dbf02d934375ca31e360b621777cf9e396fb8 (patch)
tree384d70ac07d26b8ee1ea900e415c71a8a0e56cb2 /Keywords/glib-schemas.ucl
parentc998ab645b3d159be1a6f2d738f83cba62889a7b (diff)
downloadports-b62dbf02d934375ca31e360b621777cf9e396fb8.tar.gz
ports-b62dbf02d934375ca31e360b621777cf9e396fb8.zip
Add new keyword for to run glib-compile-schemas.
It be used by the GLIB_SCHEMAS macro in the next gnome update, for ports using GLIB_SCHEMAS nothing will change. Approved by: portmgr (bapt)
Notes
Notes: svn path=/head/; revision=373806
Diffstat (limited to 'Keywords/glib-schemas.ucl')
-rw-r--r--Keywords/glib-schemas.ucl16
1 files changed, 16 insertions, 0 deletions
diff --git a/Keywords/glib-schemas.ucl b/Keywords/glib-schemas.ucl
new file mode 100644
index 000000000000..7e9691996b13
--- /dev/null
+++ b/Keywords/glib-schemas.ucl
@@ -0,0 +1,16 @@
+# $FreeBSD$
+#
+# MAINTAINER: gnome@FreeBSD.org
+#
+# Rebuild the glib schema cache.
+#
+# Ports installing glib schemas should use the GLIB_SCHEMAS macro
+# from USE_GNOME instead of calling this keyword directly.
+
+actions: []
+post-install: <<EOD
+ glib-compile-schemas %D/share/glib-2.0/schemas > /dev/null || true
+EOD
+post-deinstall: <<EOD
+ glib-compile-schemas %D/share/glib-2.0/schemas > /dev/null || true
+EOD