Nonequilibrium thermodynamic description of the three-phase contact line.