aboutsummaryrefslogtreecommitdiff
path: root/sysutils/packer/Makefile
blob: 878535b4e8a0e60af9ff9acdd920c2079ee7de8d (plain) (blame)
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
28
29
# $FreeBSD$

PORTNAME=	packer
PORTVERSION=	1.2.4
DISTVERSIONPREFIX=	v
CATEGORIES=	sysutils

MAINTAINER=	lifanov@FreeBSD.org
COMMENT=	Tool for creating machine images

LICENSE=	MPL20
LICENSE_FILE=	${WRKSRC}/LICENSE

PLIST_FILES=	bin/${PORTNAME}

USES=	go

USE_GITHUB=	yes
GH_ACCOUNT=	hashicorp

GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}

.include <bsd.port.pre.mk>

.if ${ARCH} == "i386"
EXTRA_PATCHES=	${PATCHDIR}/extra-patch-i386
.endif

.include <bsd.port.post.mk>