pkgsrc/graphics/jpeg_ls/Makefile
jlam 4b86e2bfab Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 15:39:09 +00:00

32 lines
1,017 B
Makefile

# $NetBSD: Makefile,v 1.8 2008/03/04 15:39:10 jlam Exp $
#
DISTNAME= jpeg_ls_v2.2
PKGNAME= jpeg_ls-2.2
CATEGORIES= graphics
MASTER_SITES= http://kt.ijs.si/aleks/jpeg-ls/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://kt.ijs.si/aleks/jpeg-ls/mirror.htm
COMMENT= JPEG-LS codec (lossless/near-lossless codec)
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DIRS= ${WRKSRC}/Decoder ${WRKSRC}/Encoder
MAKE_FILE= makefile
LICENSE= no-commercial-use
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Decoder/locod ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/Encoder/locoe ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/jpeg_ls
${INSTALL_DATA} ${WRKSRC}/README* ${DESTDIR}${PREFIX}/share/doc/jpeg_ls
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/jpeg_ls
${INSTALL_DATA} ${WRKSRC}/*.jls \
${DESTDIR}${PREFIX}/share/examples/jpeg_ls
${INSTALL_DATA} ${WRKSRC}/table* \
${DESTDIR}${PREFIX}/share/examples/jpeg_ls
.include "../../mk/bsd.pkg.mk"