openbsd-ports/infrastructure/templates
abieber 9e0580770b Teach portgen how to speak Go!
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@
2020-05-15 01:32:48 +00:00
..
Makefile.template Teach portgen how to speak Go! 2020-05-15 01:32:48 +00:00
mk.conf.template Add the common misspelling "MODPY_TEST" (should be "MODPY_PYTEST") to the 2019-11-30 18:11:46 +00:00
rc.template Reflect the change of the shebang line from /bin/sh to /bin/ksh for 2018-01-11 19:30:18 +00:00
README.template Extend paper cut. 2019-05-09 17:45:05 +00:00

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<---------------------------------------