diff options
Diffstat (limited to '')
-rw-r--r-- | sysutils/nomad-pot-driver/Makefile | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/sysutils/nomad-pot-driver/Makefile b/sysutils/nomad-pot-driver/Makefile index dc82ed037a0e..581b7c821782 100644 --- a/sysutils/nomad-pot-driver/Makefile +++ b/sysutils/nomad-pot-driver/Makefile @@ -16,27 +16,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= pot:sysutils/pot \ nomad:sysutils/nomad -USES= compiler go +USES= go USE_GITHUB= yes GH_ACCOUNT= trivago GH_SUBDIR= src/github.com/trivago/nomad-pot-driver +GO_TARGET= :${PREFIX}/libexec/nomad/plugins/nomad-pot-driver + PLIST_FILES= libexec/nomad/plugins/nomad-pot-driver SUB_FILES= pkg-message -do-build: - @cd ${WRKSRC}/src/github.com/trivago/nomad-pot-driver && \ - ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \ - -o bin/nomad-pot-driver - -do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nomad/plugins - ${INSTALL_SCRIPT} ${WRKSRC}/src/github.com/trivago/nomad-pot-driver/bin/nomad-pot-driver ${STAGEDIR}${PREFIX}/libexec/nomad/plugins - -.include <bsd.port.pre.mk> - -.if ${COMPILER_TYPE} == clang -BUILD_ENV= CC=clang -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |