ports/sysutils/container-diff/Makefile
Sunpoet Po-Chuan Hsieh b699d1c94b Add container-diff 0.6.0
container-diff is a tool for analyzing and comparing container images.

container-diff can examine images along several different criteria, including:
- Docker Image History
- Image file system
- Apt packages
- pip packages
- npm packages

These analyses can be performed on a single image, or a diff can be performed on
two images to compare. The tool can help users better understand what is
changing inside their images, and give them a better look at what their images
contain.

WWW: https://github.com/GoogleCloudPlatform/container-diff
2018-01-04 20:11:01 +00:00

33 lines
740 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= container-diff
PORTVERSION= 0.6.0
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>