freebsd-ports/Keywords/glib-schemas.ucl
Koop Mast b62dbf02d9 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)
2014-12-03 09:54:37 +00:00

17 lines
409 B
Plaintext

# $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