summaryrefslogtreecommitdiff
path: root/sysutils/container-diff/Makefile
blob: d2da72248145632e90eca40ae5427d8b2589f7df (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
30
31
32
33
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=	container-diff
PORTVERSION=	0.6.2
DISTVERSIONPREFIX=	v
CATEGORIES=	sysutils

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Diff your Docker containers

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
USES=		go

PLIST_FILES=	bin/container-diff

GH_ACCOUNT=	GoogleCloudPlatform
USE_GITHUB=	yes

.include <bsd.port.options.mk>

# Change inode size from 64 bits to 32 bits for systems without ino64 support
.if ${OSVERSION} < 1200031
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-without-ino64
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/bin/container-diff ${STAGEDIR}${PREFIX}/bin/container-diff

.include <bsd.port.mk>