Star Trek V: The Final Frontier is a 1989 American science fiction film directed by William Shatner and based on the television series Star Trek created by Gene Roddenberry.