2016-05-16 16:03:40 +02:00
|
|
|
# $NetBSD: Makefile,v 1.43 2016/05/16 14:03:40 he Exp $
|
2001-08-01 16:56:31 +02:00
|
|
|
|
2007-01-21 22:44:35 +01:00
|
|
|
DISTNAME= jasper-1.900.1
|
2016-05-16 16:03:40 +02:00
|
|
|
PKGREVISION= 12
|
2004-03-02 11:28:18 +01:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://www.ece.uvic.ca/~mdadams/jasper/software/
|
|
|
|
EXTRACT_SUFX= .zip
|
2001-08-01 16:56:31 +02:00
|
|
|
|
2004-03-02 11:28:18 +01:00
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.ece.uvic.ca/~mdadams/jasper/
|
|
|
|
COMMENT= Software-based reference implementation of the JPEG-2000 codec
|
2015-01-01 15:15:27 +01:00
|
|
|
LICENSE= modified-bsd
|
2001-08-01 16:56:31 +02:00
|
|
|
|
2007-01-07 20:02:12 +01:00
|
|
|
USE_LANGUAGES= c99
|
2007-01-07 20:00:59 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2002-11-12 20:39:15 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-shared --without-x --disable-opengl
|
2001-08-01 16:56:31 +02:00
|
|
|
|
2011-06-21 18:20:51 +02:00
|
|
|
# The solaris stdbool.h requires c99 which is fine for jasper, but
|
|
|
|
# not so good for things that depend upon jasper. See PR#43901
|
|
|
|
CONFIGURE_ENV.SunOS+= ac_cv_header_stdbool_h=no
|
|
|
|
|
2007-01-07 20:02:12 +01:00
|
|
|
INSTALLATION_DIRS+= share/doc/jasper
|
|
|
|
|
2001-08-01 16:56:31 +02:00
|
|
|
post-install:
|
2007-08-18 00:18:15 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/jasper.pdf ${DESTDIR}${PREFIX}/share/doc/jasper
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/jpeg2000.pdf ${DESTDIR}${PREFIX}/share/doc/jasper
|
2001-08-01 16:56:31 +02:00
|
|
|
|
2010-12-23 12:44:24 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2001-08-01 16:56:31 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|