summaryrefslogtreecommitdiff
path: root/net/aws-ec2-imdsv2-get/Makefile
blob: 7311652a0cbf3d01297f9f77733a38d8d4178458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PORTNAME=	aws-ec2-imdsv2-get
DISTVERSION=	1.0.3
PORTREVISION=	4
CATEGORIES=	net

MAINTAINER=	cperciva@FreeBSD.org
COMMENT=	Reads data from EC2 IMDS with v2 protocol
WWW=		https://github.com/aws/aws-ec2-imdsv2-get

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	aws

PORTDOCS=	NOTICE README.md

OPTIONS_DEFINE=	DOCS

PLIST_FILES=	bin/aws-ec2-imdsv2-get

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>