Skip to content
Permalink
Browse files

MacPorts: Prevent installation, https://trac.macports.org/ticket/43085

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@118259 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
neverpanic committed Mar 27, 2014
1 parent a86bcbd commit dd74829a14c92d5a7e736b5a5e4ec3c63e5a2ef8
Showing with 12 additions and 0 deletions.
  1. +12 −0 sysutils/MacPorts/Portfile
@@ -289,3 +289,15 @@ destroot.keepdirs ${destroot}${prefix}/include \
${destroot}${prefix}/var/macports/build \
${destroot}${prefix}/var/macports/distfiles \
${destroot}${prefix}/var/macports/registry

pre-activate {
ui_error ""
ui_error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
ui_error "!! DO NOT INSTALL THE MACPORTS PORT !!"
ui_error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
ui_error "The MacPorts port is only used to build the installers you can download from"
ui_error "macports.org It is not intended for installation by a user, and doing so will"
ui_error "overwrite your MacPorts installation and render it unusable when removed."
ui_error ""
error "Installation aborted"
}

0 comments on commit dd74829

Please sign in to comment.
You can’t perform that action at this time.