diff options
author | jlam <jlam> | 2007-07-30 16:15:10 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-07-30 16:15:10 +0000 |
commit | f72ad2c5d618dde8d3b0d737d372b48ff0ce3b87 (patch) | |
tree | 0ee1498be0300b611d857ba3ad34abf0c945a6e3 | |
parent | df912b90153d95934ea62dae803a428f0e1a09b7 (diff) | |
download | pkgsrc-f72ad2c5d618dde8d3b0d737d372b48ff0ce3b87.tar.gz |
Add INSTALL/DEINSTALL scripts for managing the symlinks to the plugins.
-rw-r--r-- | www/firefox-bin-acroread/DEINSTALL | 8 | ||||
-rw-r--r-- | www/firefox-bin-acroread/INSTALL | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/www/firefox-bin-acroread/DEINSTALL b/www/firefox-bin-acroread/DEINSTALL new file mode 100644 index 00000000000..8b5101dc1a5 --- /dev/null +++ b/www/firefox-bin-acroread/DEINSTALL @@ -0,0 +1,8 @@ +# $NetBSD: DEINSTALL,v 1.1 2007/07/30 16:15:10 jlam Exp $ + +case "${STAGE}" in +DEINSTALL) + dest="${PKG_PREFIX}/lib/firefox-linux/plugins/nppdf.so" + ${RM} -f "$dest" + ;; +esac diff --git a/www/firefox-bin-acroread/INSTALL b/www/firefox-bin-acroread/INSTALL new file mode 100644 index 00000000000..7951d33a294 --- /dev/null +++ b/www/firefox-bin-acroread/INSTALL @@ -0,0 +1,9 @@ +# $NetBSD: INSTALL,v 1.1 2007/07/30 16:15:11 jlam Exp $ + +case "${STAGE}" in +POST-INSTALL) + src="${PKG_PREFIX}/@ACROREAD@/@ACRO_SUBDIR@/@ACRO_PLATFORM@/nppdf.so" + dest="${PKG_PREFIX}/lib/firefox-linux/plugins/nppdf.so" + ${TEST} -f "$dest" || ${LN} -s "$src" "$dest" + ;; +esac |