Boundary control of distributed port-hamiltonian systems via generalised canonical transformations