aboutsummaryrefslogtreecommitdiff
path: root/graphics/openjph/Makefile
blob: d68484fca6372e1b107a690d856b5ba2b8ee636b (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
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=	openjph
PORTVERSION=	0.7.2
PORTREVISION=	1
CATEGORIES=	graphics

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Open-source implementation of JPEG2000 Part-15

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/license.txt

NOT_FOR_ARCHS=	i386
NOT_FOR_ARCHS_REASON=	is currently 64-bit only

USES=		cmake compiler:c++11-lang pathfix

CMAKE_ON=	BUILD_SHARED_LIBS

PLIST_SUB=	PORTVERSION=${PORTVERSION}

GH_ACCOUNT=	aous72
GH_PROJECT=	OpenJPH
USE_GITHUB=	yes

.include <bsd.port.options.mk>

.if ${ARCH} != amd64 && ${ARCH} != i386
CMAKE_ON+=	OJPH_DISABLE_INTEL_SIMD
.endif

.include <bsd.port.mk>