CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2020/05/14 19:32:48
Modified files:
infrastructure/bin: portgen
infrastructure/templates: Makefile.template
lang/go : go.port.mk
Added files:
infrastructure/lib/OpenBSD/PortGen/Port: Go.pm
Log message:
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@