You need to use the activateand commands deactivate. eg:
port deactivate ImageMagick@6.6.5-0_0+q16
port activate ImageMagick@6.6.4-9_0+q16
Note: I may be wrong in the syntax @for the version ... you can confirm this in the documentation.
source
share