2015-06-14 00:06:57 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= packer
|
2018-06-18 00:23:10 +02:00
|
|
|
PORTVERSION= 1.2.4
|
2015-06-14 00:06:57 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
2017-07-05 20:21:36 +02:00
|
|
|
MAINTAINER= lifanov@FreeBSD.org
|
2015-06-14 00:06:57 +02:00
|
|
|
COMMENT= Tool for creating machine images
|
|
|
|
|
2017-08-03 15:48:07 +02:00
|
|
|
LICENSE= MPL20
|
2017-07-05 20:21:36 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2017-04-07 15:12:50 +02:00
|
|
|
|
2017-07-05 20:21:36 +02:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
2015-06-14 00:06:57 +02:00
|
|
|
|
2018-06-20 06:12:17 +02:00
|
|
|
USES= go
|
|
|
|
|
2015-06-14 00:06:57 +02:00
|
|
|
USE_GITHUB= yes
|
2017-07-05 20:21:36 +02:00
|
|
|
GH_ACCOUNT= hashicorp
|
2015-06-14 00:06:57 +02:00
|
|
|
|
2017-07-05 20:21:36 +02:00
|
|
|
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
|
2015-06-14 00:06:57 +02:00
|
|
|
|
2018-06-20 06:12:17 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "i386"
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-i386
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|