diff options
author | jlam <jlam@pkgsrc.org> | 2007-08-01 16:28:08 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-08-01 16:28:08 +0000 |
commit | 8101baad23bae9da2e4b8eeaff22842eaa651415 (patch) | |
tree | c94dc724eaf481131c6d47457aedd727fea132e9 /emulators/darwin_lib/DEINSTALL | |
parent | ede3ad6e6bc7a058a0e90840a3e0efc916a49c3d (diff) | |
download | pkgsrc-8101baad23bae9da2e4b8eeaff22842eaa651415.tar.gz |
Support automatically using pkgsrc/emulators/darwin_lib to satisfy
EMUL_PLATFORMs darwin-i386 and darwin-powerpc.
Diffstat (limited to 'emulators/darwin_lib/DEINSTALL')
-rw-r--r-- | emulators/darwin_lib/DEINSTALL | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/darwin_lib/DEINSTALL b/emulators/darwin_lib/DEINSTALL new file mode 100644 index 00000000000..c076ad5a6de --- /dev/null +++ b/emulators/darwin_lib/DEINSTALL @@ -0,0 +1,11 @@ +# $NetBSD: DEINSTALL,v 1.1 2007/08/01 16:28:08 jlam Exp $ + +EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@" + +case "${STAGE}" in +DEINSTALL) + # Run any actions that require root privileges. + ${TEST} ! -x ./+ROOT_ACTIONS || + ./+ROOT_ACTIONS REMOVE ${PKG_METADATA_DIR} || exit 1 + ;; +esac |