You would need an older version of the package. If it’s possible at all, I would assume you’d have to use the pkg command line tool directly. I don’t know if you can specify which version you want to install, I’m a BSD noob. Perhaps you will have to find an archive of the package elsewhere on the internet to install from a file.