d63fa3cd53
* Changes in the package: - Add a buildlink3.mk file to be used to add a direct dependency on this package. This file also creates a fake "update-mime-database" wrapper in the buildlink directory so that programs can't run it directly during its build. - Add the mimedb.mk file, which can be used by packages that install mimedb extensions (into share/mime/packages) to automatically rebuild the database at (de)installation time. - The mime database files (except those installed into share/mime/packages) must not be listed in the PLIST, so add some PRINT_PLIST_AWK magic to handle this automatically. * Mime Types Changes: - Added various aliases - Make text files inherit from text/plain - Added text/x-xmi - Added application/x-javascripta * Translations: - new translations: Danish (Ole Laursen), Greek (Nikos Charonitakis), Korean (Cha Young-Ho) - updated translations: Finnish (Ville Skyttä), German (Christian Neumair)
13 lines
248 B
Text
13 lines
248 B
Text
# $NetBSD: INSTALL,v 1.1 2004/08/31 11:43:44 jmmv Exp $
|
|
|
|
MIMEDB_PATH="@MIMEDB_PATH@"
|
|
UPDATE_MIMEDB="@UPDATE_MIMEDB@"
|
|
|
|
case ${STAGE} in
|
|
POST-INSTALL)
|
|
${UPDATE_MIMEDB} ${MIMEDB_PATH} >/dev/null
|
|
;;
|
|
POST-DEINSTALL)
|
|
${RM} -rf ${MIMEDB_PATH}
|
|
;;
|
|
esac
|