Changeset 118259


Ignore:
Timestamp:
Mar 27, 2014, 8:05:15 PM (6 years ago)
Author:
cal@…
Message:

MacPorts: Prevent installation, #43085

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/MacPorts/Portfile

    r118053 r118259  
    290290                     ${destroot}${prefix}/var/macports/distfiles \
    291291                     ${destroot}${prefix}/var/macports/registry
     292
     293pre-activate {
     294    ui_error ""
     295    ui_error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
     296    ui_error "!! DO NOT INSTALL THE MACPORTS PORT !!"
     297    ui_error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
     298    ui_error "The MacPorts port is only used to build the installers you can download from"
     299    ui_error "macports.org It is not intended for installation by a user, and doing so will"
     300    ui_error "overwrite your MacPorts installation and render it unusable when removed."
     301    ui_error ""
     302    error "Installation aborted"
     303}
Note: See TracChangeset for help on using the changeset viewer.