svn commit: r373806 - head/Keywords

Koop Mast kwm at FreeBSD.org
Wed Dec 3 09:54:38 UTC 2014


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 at 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


More information about the svn-ports-head mailing list