[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / security / vault

Annotation of pkgsrc/security/vault/Makefile, Revision 1.1

1.1     ! fhajny      1: # $NetBSD$
        !             2:
        !             3: DISTNAME=      vault-0.5.2
        !             4: CATEGORIES=    security
        !             5: MASTER_SITES=  ${MASTER_SITE_GITHUB:=hashicorp/}
        !             6:
        !             7: MAINTAINER=    filip@joyent.com
        !             8: HOMEPAGE=      http://www.vaultproject.io/
        !             9: COMMENT=       Tool for managing secrets
        !            10: LICENSE=       mpl-2.0
        !            11:
        !            12: GITHUB_TAG=    v${PKGVERSION_NOREV}
        !            13:
        !            14: WRKSRC=                ${WRKDIR}/src/github.com/hashicorp/vault
        !            15:
        !            16: .include "../../lang/go/version.mk"
        !            17:
        !            18: BUILD_DEPENDS+=                go-${GO_VERSION}*:../../lang/go
        !            19:
        !            20: USE_TOOLS+=            bash gmake
        !            21:
        !            22: MAKE_ENV+=             GOPATH=${WRKDIR}:${PREFIX}/gopkg
        !            23:
        !            24: INSTALLATION_DIRS+=    bin
        !            25:
        !            26: post-extract:
        !            27:        ${MKDIR} ${WRKSRC}
        !            28:        ${MV} ${WRKDIR}/${DISTNAME}/* ${WRKSRC}
        !            29:
        !            30: do-build:
        !            31:        cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} go build -o bin/vault
        !            32:
        !            33: do-install:
        !            34:        ${INSTALL_PROGRAM} ${WRKSRC}/bin/vault ${DESTDIR}${PREFIX}/bin
        !            35:
        !            36: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>