summaryrefslogtreecommitdiff
path: root/databases/shared-mime-info/files
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-08-31 11:43:44 +0000
committerjmmv <jmmv>2004-08-31 11:43:44 +0000
commita489fe35ad4fe1aa2691f02c8c9a4b79de97e78e (patch)
treeac879ac565f1bfa58a46c1f3f8b14dbe3be12b3a /databases/shared-mime-info/files
parentdbb201e94e835625d6047e8defbf064d4ca4796a (diff)
downloadpkgsrc-a489fe35ad4fe1aa2691f02c8c9a4b79de97e78e.tar.gz
Update to 0.15:
* 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)
Diffstat (limited to 'databases/shared-mime-info/files')
-rw-r--r--databases/shared-mime-info/files/install.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/databases/shared-mime-info/files/install.tmpl b/databases/shared-mime-info/files/install.tmpl
new file mode 100644
index 00000000000..d517131d314
--- /dev/null
+++ b/databases/shared-mime-info/files/install.tmpl
@@ -0,0 +1,10 @@
+# $NetBSD: install.tmpl,v 1.1 2004/08/31 11:43:44 jmmv Exp $
+
+MIMEDB_PATH="@MIMEDB_PATH@"
+UPDATE_MIMEDB="@UPDATE_MIMEDB@"
+
+case ${STAGE} in
+POST-INSTALL|DEINSTALL)
+ ${UPDATE_MIMEDB} ${MIMEDB_PATH} >/dev/null
+ ;;
+esac