I have a tiny application written in go and I've cross-compiled it to various operating systems.
Currently my Makefile generates myapp-VERSION-OS-CPUARCH.tar.gz packages to be used as a source binary packages for to be released as .deb, .rpm, PKGBUILD, FreeBSD binary release .tgz and so on with a structure like so:
bin/myapp
LICENSE
README.md
I can't find tutorials/howtos/examples on how to package this into official OpenBSD .tgz binary release package(s). pkg_create seems to be the command, but I can't find examples.
So how you make the binary release package on OpenBSD so that there's all the metadata such as maintainer, application category, architecture and such?
The idea here is not getting the package to any official ports repository. It's to simply package a release for your own machine and learning about the packaging process on OpenBSD.