Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Uses/go.mk
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | GO_ENV+= GOPATH="${WRKDIR}" \ | ||||
GOBIN="" | GOBIN="" | ||||
.endif | .endif | ||||
GO_PORT?= lang/go | GO_PORT?= lang/go | ||||
BUILD_DEPENDS+= ${GO_CMD}:${GO_PORT} | BUILD_DEPENDS+= ${GO_CMD}:${GO_PORT} | ||||
.if ${go_ARGS:Mrun} | .if ${go_ARGS:Mrun} | ||||
RUN_DEPENDS+= ${GO_CMD}:${GO_PORT} | RUN_DEPENDS+= ${GO_CMD}:${GO_PORT} | ||||
.endif | .endif | ||||
PLIST_SUB+= GO_PKGNAME=${GO_PKGNAME} | |||||
_USES_POST+= go | _USES_POST+= go | ||||
.endif # !defined(_INCLUDE_USES_GO_MK) | .endif # !defined(_INCLUDE_USES_GO_MK) | ||||
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_GO_POST_MK) | .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_GO_POST_MK) | ||||
_INCLUDE_USES_GO_POST_MK= yes | _INCLUDE_USES_GO_POST_MK= yes | ||||
.if !target(post-extract) && empty(go_ARGS) | .if !target(post-extract) && empty(go_ARGS) | ||||
Show All 19 Lines |