blob: 14a8411046f1439222242567507979c334ebb383 (
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
34
35
36
|
PORTNAME= mozjpeg
PORTVERSION= 4.1.1
DISTVERSIONPREFIX= v
CATEGORIES= graphics
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Improved JPEG encoder by Mozilla
WWW= https://github.com/mozilla/mozjpeg
LICENSE= BSD3CLAUSE
BROKEN_mips64= does not configure: error: SIMD support cannot be enabled
BROKEN_sparc64= does not configure: error: SIMD support cannot be enabled
BUILD_DEPENDS= nasm>=2.10,1:devel/nasm
LIB_DEPENDS= libpng.so:graphics/png
USES= cmake cpe
CMAKE_OFF= REQUIRE_SIMD WITH_12BIT WITH_ARITH_DEC WITH_ARITH_ENC WITH_JAVA WITH_JPEG7
CMAKE_ON= ENABLE_SHARED ENABLE_STATIC FORCE_INLINE PNG_SUPPORTED WITH_JPEG8 WITH_MEM_SRCDST WITH_SIMD WITH_TURBOJPEG
USE_LDCONFIG= yes
CONFLICTS_INSTALL= jpeg-turbo
CPE_VENDOR= mozilla
GH_ACCOUNT= mozilla
USE_GITHUB= yes
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|