mystuff/nnotes/Makefile in openbsd-ports

at master

1COMMENT = A re-implementation of the NextCloud Notes API
2
3V = 0.1.0
4DISTNAME = nnotes-${V}
5CATEGORIES = mystuff net www
6HOMEPAGE = https://dl.danielmoch.com/nnotes/
7PKGPATH = mystuff/nnotes
8MODGO_MODNAME = djmo.ch/go-nnotes
9MODGO_VERSION = v${V}
10
11MASTER_SITES = https://goproxy.djmoch.org/djmo.ch/go-nnotes/@v/
12
13MODULES = lang/go
14
15# ISC
16PERMIT_PACKAGE = Yes
17
18WANTLIB += c pthread
19
20ALL_TARGET = djmo.ch/go-nnotes/cmd/nnotes
21MODGO_LDFLAGS += -X main.version=${V}
22
23SUBST_VARS = VARBASE
24
25.include "modules.inc"
26
27.include <bsd.port.mk>