Cap'n! I canna break the laws of copyright! Oh wait, maybe I can.

Amazon's pretty up-front about it all: "Pipe-smoking, action-loving spaceship commander Lieutenant John Grimes (think Captain Kirk with more of a navy, salty attitude) moves out of the Federation navy and finds his true calling adventuring along the spaceways of the galactic rim."

But written many, many years before Trek.