summaryrefslogtreecommitdiff
path: root/graphics/guetzli/Makefile
blob: 2f48b44b77e7ce4eeac9fa4cd506c3acc5fd0e00 (plain)
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
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$

PORTNAME=	guetzli
PORTVERSION=	1.0.1
PORTREVISION=	4
DISTVERSIONPREFIX=	v
CATEGORIES=	graphics

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Perceptual JPEG encoder

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libpng.so:graphics/png

USE_GITHUB=	yes
GH_ACCOUNT=	google

USES=		compiler:c++11-lib gmake pkgconfig
PLIST_FILES=	bin/guetzli
MAKE_FLAGS=	verbose=1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/Release/guetzli ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>