- Bump revision of consumers for shared library change - Pet portlint and reorder some variables - Mark the SIGNATURES option as broken with OpenSSL 1.1.1. It has been broken for a while even with libucl 0.8.0. Changes: https://github.com/vstakhov/libucl/blob/0.8.1/ChangeLog.md#libucl-081 PR: 233383 Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch> Approved by: koobs (maintainer timeout, 4 months)
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= hfm
|
|
PORTVERSION= 1.2.3
|
|
PORTREVISION= 5
|
|
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>
|