summaryrefslogtreecommitdiff
path: root/graphics/jpeg_ls/Makefile
blob: a979921345693afbe555e056cb299e31bddd02be (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
# $NetBSD: Makefile,v 1.3 2005/04/11 21:46:05 tv Exp $
#

DISTNAME=		jpeg_ls_v2.2
PKGNAME=		jpeg_ls-2.2
CATEGORIES=		graphics
MASTER_SITES=		http://www.ece.ubc.ca/spmg/research/jpeg/jpeg_ls/ver-2.2/

MAINTAINER=		wiz@NetBSD.org
HOMEPAGE=		http://www.ece.ubc.ca/spmg/research/jpeg/jpeg_ls/jpegls.html
COMMENT=		JPEG-LS codec (lossless/near-lossless codec)

BUILD_DIRS=		${WRKSRC}/Decoder ${WRKSRC}/Encoder
MAKEFILE=		makefile

LICENSE=		no-commercial-use

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/Decoder/locod ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/Encoder/locoe ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jpeg_ls
	${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/jpeg_ls
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/jpeg_ls
	${INSTALL_DATA} ${WRKSRC}/*.jls ${PREFIX}/share/examples/jpeg_ls
	${INSTALL_DATA} ${WRKSRC}/table* ${PREFIX}/share/examples/jpeg_ls

.include "../../mk/bsd.pkg.mk"