Index: head/devel/Makefile =================================================================== --- head/devel/Makefile +++ head/devel/Makefile @@ -156,6 +156,7 @@ SUBDIR += avro SUBDIR += avro-c SUBDIR += avro-cpp + SUBDIR += awless SUBDIR += aws-sdk-cpp SUBDIR += awscli SUBDIR += b2 Index: head/devel/awless/Makefile =================================================================== --- head/devel/awless/Makefile +++ head/devel/awless/Makefile @@ -0,0 +1,31 @@ +# Created by: Dmitri Goutnik +# $FreeBSD$ + +PORTNAME= awless +PORTVERSION= 0.0.16 +CATEGORIES= devel + +MAINTAINER= dg@syrec.org +COMMENT= Fast, powerful and easy-to-use CLI for AWS + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= go:lang/go + +USE_GITHUB= yes +GH_ACCOUNT= wallix +GH_SUBDIR= src/github.com/wallix/${PORTNAME} + +PLIST_FILES= bin/awless +PORTDOCS= README.md + +do-build: + @(cd ${WRKSRC} && ${SETENV} GOPATH=${WRKSRC} go build -o ${PORTNAME} ) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +.include Index: head/devel/awless/distinfo =================================================================== --- head/devel/awless/distinfo +++ head/devel/awless/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1488402634 +SHA256 (wallix-awless-0.0.16_GH0.tar.gz) = e75967799392d3b8d1820b74b191ef8db605e301e3a7cc5b2b657d79f05e6075 +SIZE (wallix-awless-0.0.16_GH0.tar.gz) = 1901149 Index: head/devel/awless/pkg-descr =================================================================== --- head/devel/awless/pkg-descr +++ head/devel/awless/pkg-descr @@ -0,0 +1,11 @@ +awless is a fast, powerful and easy-to-use command line interface (CLI) to +manage Amazon Web Services. It will help you + + - Run frequent actions by using simple commands + - Easily explore your infrastructure and cloud resources via CLI + - Ensure smart defaults & security best practices + - Manage resources through robust runnable & scriptable templates + - Explore, analyse and query your infrastructure offline + - Explore, analyse and query your infrastructure through time + +WWW: https://github.com/wallix/awless Index: head/devel/awless/pkg-message =================================================================== --- head/devel/awless/pkg-message +++ head/devel/awless/pkg-message @@ -0,0 +1,9 @@ +=============================================================================== + +Setup your AWS account by exporting AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY +environment variables. + +If you have previously used aws CLI or aws-shell, your credentials will be +automatically loaded by awless from the ~/.aws/credentials folder. + +===============================================================================