pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mackerel-agent: USE go-package.mk
Module Name: pkgsrc-wip
Committed By: miwarin <miwarin%gmail.com@localhost>
Pushed By: miwarin
Date: Mon Jan 29 09:06:37 2018 +0900
Changeset: 59b6b409fe6914065220d0cdce83fb81e5a5d9c6
Modified Files:
mackerel-agent/Makefile
Log Message:
mackerel-agent: USE go-package.mk
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=59b6b409fe6914065220d0cdce83fb81e5a5d9c6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mackerel-agent/Makefile | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diffs:
diff --git a/mackerel-agent/Makefile b/mackerel-agent/Makefile
index ccd9964726..7e680aece4 100755
--- a/mackerel-agent/Makefile
+++ b/mackerel-agent/Makefile
@@ -12,17 +12,11 @@ LICENSE= apache-2.0
EXTRACT_USING= bsdtar
GO_SRCPATH= github.com/mackerelio/${DISTNAME}
-WRKSRC= ${WRKDIR}/src/${GO_SRCPATH}
GOPATH= ${WRKDIR}
-EXTRACT_DIR= ${WRKDIR}/src/github.com/mackerelio
USE_TOOLS+= gmake perl
-BUILD_DEPENDS+= go-${GO_VERSION}*:../../lang/go
INSTALLATION_DIRS+= bin share/examples/mackerel-agent
-pre-extract:
- cd ${WRKDIR} && ${MKDIR} ${EXTRACT_DIR}
-
do-build:
cd ${WRKSRC} && GOPATH=${GOPATH} PATH=${PATH}:${GOPATH}/bin ${MAKE_PROGRAM} build
@@ -33,4 +27,5 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/build/mackerel-agent ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/mackerel-agent.sample.conf ${DESTDIR}${PREFIX}/share/examples/mackerel-agent
+.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index