pkgsrc/graphics/jasper/Makefile
drochner b0d0bad074 add a patch from Debian to tolerate j2k pictures with alpha channel
(seems really just tolerated -- looks ugly but at least doesn't crash)
bump PKGREVISION
2009-11-23 11:53:20 +00:00

28 lines
846 B
Makefile

# $NetBSD: Makefile,v 1.30 2009/11/23 11:53:20 drochner Exp $
DISTNAME= jasper-1.900.1
PKGREVISION= 4
CATEGORIES= graphics
MASTER_SITES= http://www.ece.uvic.ca/~mdadams/jasper/software/
EXTRACT_SUFX= .zip
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://www.ece.uvic.ca/~mdadams/jasper/
COMMENT= Software-based reference implementation of the JPEG-2000 codec
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c99
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared --without-x --disable-opengl
INSTALLATION_DIRS+= share/doc/jasper
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/jasper.pdf ${DESTDIR}${PREFIX}/share/doc/jasper
${INSTALL_DATA} ${WRKSRC}/doc/jpeg2000.pdf ${DESTDIR}${PREFIX}/share/doc/jasper
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"