Changeset View
Changeset View
Standalone View
Standalone View
Keywords/gschemas.ucl
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $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. | |||||
arguments: true | |||||
actions_script: <<EOS | |||||
bad = false | |||||
for i = 1, #arg do | |||||
if not pkg.file("share/glib-2.0/schemas/" .. arg[i]) then | |||||
bad = true | |||||
end | |||||
end | |||||
if bad then | |||||
return 1 | |||||
end | |||||
EOS | |||||
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 |