# $FreeBSD: head/sysutils/hfm/Makefile 412349 2016-04-01 14:25:16Z mat $ PORTNAME= hfm PORTVERSION= 1.2.3 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= 554b8425@razorfever.net COMMENT= Run tests in parallel at high frequency LICENSE= BSD2CLAUSE # gb 0.4 includes FreeBSD-specific fixes that this port requires # https://github.com/constabulary/gb/issues/506 BUILD_DEPENDS= go>=1.5:lang/go \ gb>=0.4:devel/gb \ ${LOCALBASE}/lib/libucl.a:textproc/libucl USES= compiler:c++11-lang USE_GITHUB= yes GH_ACCOUNT= derekmarcotte mitchellh:gu op:gl GH_PROJECT= hfm go-libucl:gu go-logging:gl GH_TAGNAME= ${DISTVERSIONFULL} f9d0e55:gu dfaf3df:gl USERS= _hfm GROUPS= _hfm USE_RC_SUBR= hfm MAKE_ARGS+= ETCDIR=${ETCDIR} TAG=${DISTVERSIONPREFIX}${PORTVERSION} NO_INSTALL= yes ALL_TARGET= test build post-extract: ${MKDIR} ${WRKSRC}/vendor/src/github.com/mitchellh/go-libucl ${MV} ${WRKDIR}/go-libucl-f9d0e55/* ${WRKSRC}/vendor/src/github.com/mitchellh/go-libucl/ ${MKDIR} ${WRKSRC}/vendor/src/github.com/op/go-logging ${MV} ${WRKDIR}/go-logging-dfaf3df/* ${WRKSRC}/vendor/src/github.com/op/go-logging/ do-patch: (cd ${WRKSRC}; ${PATCH} vendor/src/github.com/mitchellh/go-libucl/libucl.go < vendor/patches/github.com/mitchellh/go-libucl/libucl.go.patch ) do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/hfm ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/examples/hfm.conf.sample ${STAGEDIR}${ETCDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} .include