freebsd-ports/sysutils/hfm/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 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, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

52 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= hfm
PORTVERSION= 1.2.3
PORTREVISION= 4
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
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
USERS= _hfm
GROUPS= _hfm
USE_RC_SUBR= hfm
MAKE_ARGS+= ETCDIR=${ETCDIR} TAG=${DISTVERSIONPREFIX}${PORTVERSION}
ALL_TARGET= test build
OPTIONS_DEFINE= DOCS EXAMPLES
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>