1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

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)
This commit is contained in:
Koop Mast 2014-12-03 09:54:37 +00:00
parent c998ab645b
commit b62dbf02d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373806

16
Keywords/glib-schemas.ucl Normal file
View File

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