2016-03-20 21:20:13 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= hfm
|
2016-03-29 07:13:02 +02:00
|
|
|
PORTVERSION= 1.2.3
|
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
2017-09-10 22:55:38 +02:00
|
|
|
PORTREVISION= 2
|
2016-03-20 21:20:13 +01:00
|
|
|
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
|
2016-04-01 16:25:16 +02:00
|
|
|
BUILD_DEPENDS= go>=1.5:lang/go \
|
|
|
|
gb>=0.4:devel/gb \
|
|
|
|
${LOCALBASE}/lib/libucl.a:textproc/libucl
|
2016-03-20 21:20:13 +01:00
|
|
|
|
|
|
|
USES= compiler:c++11-lang
|
|
|
|
USE_GITHUB= yes
|
|
|
|
|
2016-08-24 16:50:17 +02:00
|
|
|
GH_ACCOUNT= derekmarcotte
|
|
|
|
GH_TUPLE= mitchellh:go-libucl:f9d0e55:gu/vendor/src/github.com/mitchellh/go-libucl \
|
|
|
|
op:go-logging:dfaf3df:gl/vendor/src/github.com/op/go-logging
|
2016-03-20 21:20:13 +01:00
|
|
|
|
|
|
|
USERS= _hfm
|
|
|
|
GROUPS= _hfm
|
|
|
|
|
|
|
|
USE_RC_SUBR= hfm
|
|
|
|
|
|
|
|
MAKE_ARGS+= ETCDIR=${ETCDIR} TAG=${DISTVERSIONPREFIX}${PORTVERSION}
|
|
|
|
|
|
|
|
ALL_TARGET= test build
|
|
|
|
|
|
|
|
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 <bsd.port.mk>
|