Re:OpenBSD Ports - Integrating Third Party Applications [pdf]
by tsg_ on Sunday July 24, 2016 @07:45PM
(#12155562)
If the thing you're doing involves 7 bajillion CPAN packages and cross dependencies with something large and complex, you're going to have a bad time.
You might find portgen(1) somewhat useful. For example, try something like this:
doas portgen p5 Net::Hadoop::YARN
Overall, I'd say the process of making ports is slightly easier than packaging on some other platforms, except when you encounter exceptions--which can happen with software written with an expectation of Linux.