COMMENT = automated developer-oriented status page MODGO_MODNAME = github.com/TwiN/gatus/v5 MODGO_VERSION = v5.3.2 DISTNAME = gatus-${MODGO_VERSION} CATEGORIES = www HOMEPAGE = https://gatus.io MAINTAINER = la ninpre # Apache License 2.0 PERMIT_PACKAGE = Yes MODULES = lang/go ALL_TARGET = github.com/TwiN/gatus/v5 WRKDIST = ${WRKDIR}/${ALL_TARGET}@${MODGO_VERSION} WANTLIB += c pthread pre-configure: ${SUBST_CMD} ${WRKDIST}/config/config.go do-install: ${INSTALL_PROGRAM} ${MODGO_WORKSPACE}/bin/gatus ${PREFIX}/sbin/gatus ${INSTALL_DATA_DIR} ${PREFIX}/share/gatus cp -Rp ${WRKSRC}/config.yaml ${PREFIX}/share/gatus/gatus.yaml .include "modules.inc" .include