svn commit: r513466 - head/sysutils/nomad-pot-driver
Luca Pizzamiglio
pizzamig at FreeBSD.org
Tue Oct 1 08:59:30 UTC 2019
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 <bsd.port.pre.mk>
-
-.if ${COMPILER_TYPE} == clang
-BUILD_ENV= CC=clang
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-head
mailing list