freebsd-ports/sysutils/packer/Makefile

30 lines
474 B
Makefile
Raw Normal View History

# $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>