cf87b6e47a
Diff from aisha! Thanks aisha!
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
BROKEN-i386 = github.com/go-piv/piv-go@v1.10.0/piv/pcsc_openbsd.go:29:15: 0x8010002E (untyped int constant 2148532270) overflows int32
|
|
BROKEN-armv7 = github.com/go-piv/piv-go@v1.10.0/piv/pcsc_openbsd.go:29:15: 0x8010002E (untyped int constant 2148532270) overflows int32
|
|
|
|
COMMENT = private certificate authority and ACME server
|
|
|
|
V = 0.22.0
|
|
MODGO_MODNAME = github.com/smallstep/certificates
|
|
MODGO_VERSION = v${V}
|
|
DISTNAME = step-ca-${V}
|
|
|
|
REVISION = 0
|
|
|
|
CATEGORIES = security
|
|
|
|
HOMEPAGE = https://smallstep.com/certificates
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += c pcsclite pthread
|
|
|
|
LIB_DEPENDS = security/pcsc-lite
|
|
|
|
MODULES = lang/go
|
|
|
|
MODGO_LDFLAGS += -X "main.Version=${V}"
|
|
|
|
do-build:
|
|
-cd ${WRKSRC} && ${MODGO_BUILD_CMD} ${ALL_TARGET}/cmd/...
|
|
cd ${WRKDIR}/go/pkg/mod/github.com/newrelic/go-agent/v3@*/internal/sysinfo; \
|
|
mv memtotal_openbsd_amd64.go memtotal_openbsd.go
|
|
GOCACHE="${MODGO_GOCACHE}" go clean -cache
|
|
cd ${WRKSRC} && ${MODGO_BUILD_CMD} ${ALL_TARGET}/cmd/...
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/step-ca
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.md ${PREFIX}/share/doc/step-ca
|
|
|
|
.include "modules.inc"
|
|
.include <bsd.port.mk>
|