Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2014 09:54:37 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r373806 - head/Keywords
Message-ID:  <201412030954.sB39sbjv099957@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Wed Dec  3 09:54:37 2014
New Revision: 373806
URL: https://svnweb.freebsd.org/changeset/ports/373806
QAT: https://qat.redports.org/buildarchive/r373806/

Log:
  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)

Added:
  head/Keywords/glib-schemas.ucl   (contents, props changed)

Added: head/Keywords/glib-schemas.ucl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/Keywords/glib-schemas.ucl	Wed Dec  3 09:54:37 2014	(r373806)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412030954.sB39sbjv099957>