summaryrefslogtreecommitdiff
path: root/graphics/jasper/Makefile
blob: 70f55b0b336bababdd8c984b7596d849947bb276 (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
29
30
31
32
33
34
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$

PORTNAME=	jasper
PORTVERSION=	1.900.1
PORTREVISION=	16
CATEGORIES=	graphics
MASTER_SITES=	http://www.ece.uvic.ca/~mdadams/jasper/software/ \
		ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Implementation of the codec specified in the JPEG-2000 standard

LICENSE=	MIT

OPTIONS_DEFINE=	OPENGL UUID DOCS
OPTIONS_DEFAULT=UUID
OPTIONS_SUB=	yes
UUID_DESC=	UUID support (required by GDAL)

CONFIGURE_ARGS=	--enable-shared --enable-static
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USES=		jpeg libtool:keepla localbase zip

OPENGL_CONFIGURE_ENABLE=opengl
OPENGL_USE=		GL=glut XORG=x11,xext,xi,xmu
UUID_EXTRA_PATCHES=	${PATCHDIR}/uuid.patch

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}/
	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>