Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.gnome.mk
Show First 20 Lines • Show All 814 Lines • ▼ Show 20 Lines | |||||
. endif | . endif | ||||
. if defined(${component}_PRE_PATCH) | . if defined(${component}_PRE_PATCH) | ||||
GNOME_PRE_PATCH+= ; ${${component}_PRE_PATCH} | GNOME_PRE_PATCH+= ; ${${component}_PRE_PATCH} | ||||
. endif | . endif | ||||
. endfor | . endfor | ||||
.endif | .endif | ||||
. if defined(GCONF_SCHEMAS) && ! defined(NO_STAGE) | . if defined(GCONF_SCHEMAS) | ||||
MAKE_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | MAKE_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | ||||
. endif | . endif | ||||
.endif | .endif | ||||
.if defined(GNOME_PRE_PATCH) | .if defined(GNOME_PRE_PATCH) | ||||
pre-patch: gnome-pre-patch | pre-patch: gnome-pre-patch | ||||
▲ Show 20 Lines • Show All 80 Lines • ▼ Show 20 Lines | . if defined(INSTALLS_ICONS) | ||||
@for i in `${GREP} "^share/icons/.*/" ${TMPPLIST} | ${CUT} -d / -f 1-3 | ${SORT} -u`; do \ | @for i in `${GREP} "^share/icons/.*/" ${TMPPLIST} | ${CUT} -d / -f 1-3 | ${SORT} -u`; do \ | ||||
${ECHO_CMD} "@unexec /bin/rm %D/$${i}/icon-theme.cache 2>/dev/null || /usr/bin/true" \ | ${ECHO_CMD} "@unexec /bin/rm %D/$${i}/icon-theme.cache 2>/dev/null || /usr/bin/true" \ | ||||
>> ${TMPPLIST}.icons1; \ | >> ${TMPPLIST}.icons1; \ | ||||
${ECHO_CMD} "@exec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/$${i} 2>/dev/null || /usr/bin/true" \ | ${ECHO_CMD} "@exec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/$${i} 2>/dev/null || /usr/bin/true" \ | ||||
>> ${TMPPLIST}; \ | >> ${TMPPLIST}; \ | ||||
${ECHO_CMD} "@unexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/$${i} 2>/dev/null || /usr/bin/true" \ | ${ECHO_CMD} "@unexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/$${i} 2>/dev/null || /usr/bin/true" \ | ||||
>> ${TMPPLIST}; \ | >> ${TMPPLIST}; \ | ||||
done | done | ||||
.if defined(NO_STAGE) | |||||
@for i in `${GREP} "^share/icons/.*/" ${TMPPLIST} | ${CUT} -d / -f 1-3 | ${SORT} -u`; do \ | |||||
${LOCALBASE}/bin/gtk-update-icon-cache -q -f ${PREFIX}/$${i} 2>/dev/null || ${TRUE}; \ | |||||
done | |||||
.endif | |||||
@if test -f ${TMPPLIST}.icons1; then \ | @if test -f ${TMPPLIST}.icons1; then \ | ||||
${CAT} ${TMPPLIST}.icons1 ${TMPPLIST} > ${TMPPLIST}.icons2; \ | ${CAT} ${TMPPLIST}.icons1 ${TMPPLIST} > ${TMPPLIST}.icons2; \ | ||||
${RM} -f ${TMPPLIST}.icons1; \ | ${RM} -f ${TMPPLIST}.icons1; \ | ||||
${MV} -f ${TMPPLIST}.icons2 ${TMPPLIST}; \ | ${MV} -f ${TMPPLIST}.icons2 ${TMPPLIST}; \ | ||||
fi | fi | ||||
. endif | . endif | ||||
.endif | .endif | ||||
.endif | .endif | ||||
# End of use part. | # End of use part. |