Edit

IABSD.fr/ports/sysutils/fleetctl/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2021-03-08 13:59:23
    Hash : 3046e077
    Message : bump the golang ports so that pkg_add -u knows to update them

  • sysutils/fleetctl/Makefile
  • # $OpenBSD: Makefile,v 1.8 2021/03/08 13:59:27 sthen Exp $
    
    COMMENT =		controller for fleet, the distributed init system
    
    GH_PROJECT =		fleet
    GH_ACCOUNT =		coreos
    GH_TAGNAME =		v1.0.0
    REVISION =		3
    
    CATEGORIES =		sysutils
    
    # Apache2
    PERMIT_PACKAGE =	Yes
    
    MODULES =		lang/go
    MODGO_TYPE =		bin
    
    BUILD_DEPENDS =		shells/bash
    
    NO_TEST =		Yes
    
    do-build:
    	cd ${WRKSRC} && env GOCACHE=${MODGO_GOCACHE} \
    		GO111MODULE=off \
    		${LOCALBASE}/bin/bash build
    
    do-install:
    	${INSTALL_PROGRAM} ${WRKSRC}/bin/fleetctl ${PREFIX}/bin/
    	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fleetctl/
    	cd ${WRKSRC}/Documentation && umask 022 && pax -rw . \
    		${PREFIX}/share/doc/fleetctl/
    
    .include <bsd.port.mk>