From owner-svn-ports-all@freebsd.org Tue Oct 1 08:59:30 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A3017130F09; Tue, 1 Oct 2019 08:59:30 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46jCrL3r7Yz4cXk; Tue, 1 Oct 2019 08:59:30 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 62CF11900C; Tue, 1 Oct 2019 08:59:30 +0000 (UTC) (envelope-from pizzamig@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x918xU6V027335; Tue, 1 Oct 2019 08:59:30 GMT (envelope-from pizzamig@FreeBSD.org) Received: (from pizzamig@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x918xUpC027334; Tue, 1 Oct 2019 08:59:30 GMT (envelope-from pizzamig@FreeBSD.org) Message-Id: <201910010859.x918xUpC027334@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pizzamig set sender to pizzamig@FreeBSD.org using -f From: Luca Pizzamiglio Date: Tue, 1 Oct 2019 08:59:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513466 - head/sysutils/nomad-pot-driver X-SVN-Group: ports-head X-SVN-Commit-Author: pizzamig X-SVN-Commit-Paths: head/sysutils/nomad-pot-driver X-SVN-Commit-Revision: 513466 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2019 08:59:30 -0000 Author: pizzamig Date: Tue Oct 1 08:59:29 2019 New Revision: 513466 URL: https://svnweb.freebsd.org/changeset/ports/513466 Log: sysutils/nomad-pot-driver: simplify Makefile No functional changes introduced PR: 240948 Submitted by: dmgk@ MFH: 2019Q4 Sponsored by: trivago N.V. Modified: head/sysutils/nomad-pot-driver/Makefile Modified: head/sysutils/nomad-pot-driver/Makefile ============================================================================== --- head/sysutils/nomad-pot-driver/Makefile Tue Oct 1 08:56:30 2019 (r513465) +++ head/sysutils/nomad-pot-driver/Makefile Tue Oct 1 08:59:29 2019 (r513466) @@ -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 - -.if ${COMPILER_TYPE} == clang -BUILD_ENV= CC=clang -.endif - -.include +.include