Path to this page:
./
databases/shared-mime-info,
Core database of common types
Branch: pkgsrc-2011Q4,
Version: 0.90nb1,
Package name: shared-mime-info-0.90nb1,
Maintainer: pkgsrc-usersMany programs and desktops use the MIME system to represent the types of
files. Frequently, it is necessary to work out the correct MIME type for
a file. This is generally done by examining the file's name or contents,
and looking up the correct MIME type in a database.
For interoperability, it is useful for different programs to use the same
database so that different programs agree on the type of a file, and new
rules for determining the type apply to all programs.
This package contains the core database of common types and the
update-mime-database command used to extend it.
DEINSTALL [+/-]# $NetBSD: DEINSTALL,v 1.4 2011/10/29 13:20:54 marino Exp $
MIMEDB_PATH="@MIMEDB_PATH@"
case ${STAGE} in
POST-DEINSTALL)
(cd ${MIMEDB_PATH} && \
${LS} . | ${GREP} -v '^packages$' | ${XARGS} ${RM} -rf)
if [ -d ${MIMEDB_PATH}/packages ]; then
if [ -n `${LS} -A ${MIMEDB_PATH}/packages` ]; then
${RMDIR} ${MIMEDB_PATH}/packages
fi
fi
if [ -d ${MIMEDB_PATH} ]; then
if [ -n `${LS} -A ${MIMEDB_PATH}` ]; then
${RMDIR} ${MIMEDB_PATH}
fi
fi
;;
esac
Required to run:[
devel/glib2] [
textproc/libxml2]
Required to build:[
devel/libtool-base] [
devel/pkg-config] [
devel/gmake] [
lang/perl5] [
textproc/intltool]
Master sites:
SHA1: c279d0556acddcfaf9ba7d04bbcae4147d131ede
RMD160: 692a8c3b8ce581946a1acb2dca3840eb361c0c0f
Filesize: 566.565 KB
Version history: (Expand)
- (2012-01-08) Package added to pkgsrc.se, version shared-mime-info-0.90nb1 (created)