9e0580770b
With this a port can be easily generated for Go applications that support Go modules (there will be a go.mod file in the root of the project). For example: https://github.com/jrick/domain/blob/master/go.mod The mod file lists "github.com/jrick/domain" as the module name, so a portgen command to build the above tool would be: portgen go github.com/jrick/domain OK afresh1@ kmos@ |
||
---|---|---|
.. | ||
Makefile.template | ||
mk.conf.template | ||
rc.template | ||
README.template |
Below is a README template for use with ports that need further setup or configuration to run on OpenBSD. Please keep an eye out for the following details: - maximum width of 80 characters per column; - file must start with the RCS ID; - no trailing spaces or newlines; - rulers should be the length of the above string. ---------------------------------------8<--------------------------------------- $OpenBSD: README.template,v 1.7 2019/05/09 17:45:05 ajacoutot Exp $ +------------------------------------------------------------------------------- | Running ${PKGSTEM} on OpenBSD +------------------------------------------------------------------------------- Section name 1 ============== Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non feugiat mi. Donec lacinia pretium ligula, quis luctus nunc lobortis non. Nam eget justo nunc. Subsection name 1.1 ------------------- Nulla bibendum viverra eleifend. Fusce sagittis posuere eros. Sed rutrum justo vel nulla pellentesque eget tempus nibh consequat. Nam adipiscing vehicula quam et porttitor. Subsection name 1.2 ------------------- Etiam vitae nisi id mauris egestas bibendum quis non neque. Phasellus et tristique velit. Nulla vitae enim eros. In convallis aliquet magna, at tincidunt odio aliquam vitae. Nulla suscipit porta vestibulum. Aliquam at leo orci, nec aliquet orci. Section name 2 ============== Proin mollis eros vel nibh consequat egestas. Quisque a massa augue. Donec vel justo lacus. Nam consequat hendrerit tempus. Phasellus rhoncus hendrerit purus, eu volutpat erat vulputate non. Section name 3 ============== Phasellus ut ipsum nulla. Aliquam lacus ligula, vulputate dignissim tristique eget, laoreet a risus. Mauris ullamcorper consectetur accumsan. ---------------------------------------8<---------------------------------------