diff options
author | kwm <kwm@FreeBSD.org> | 2014-12-03 17:54:37 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2014-12-03 17:54:37 +0800 |
commit | b68c62e609a0ae832b653972aed4d3f42eeccef4 (patch) | |
tree | 384d70ac07d26b8ee1ea900e415c71a8a0e56cb2 /Keywords | |
parent | f6c94ad3002fb7c2536301a5b046dffc8f9a6428 (diff) | |
download | freebsd-ports-gnome-b68c62e609a0ae832b653972aed4d3f42eeccef4.tar.gz freebsd-ports-gnome-b68c62e609a0ae832b653972aed4d3f42eeccef4.tar.zst freebsd-ports-gnome-b68c62e609a0ae832b653972aed4d3f42eeccef4.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)
Diffstat (limited to 'Keywords')
-rw-r--r-- | Keywords/glib-schemas.ucl | 16 |
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 |