2006-02-06 00:08:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.20 2006/02/05 23:09:34 joerg Exp $
|
2001-08-01 16:56:31 +02:00
|
|
|
#
|
|
|
|
|
2004-03-02 11:28:18 +01:00
|
|
|
DISTNAME= jasper-1.701.0
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 2
|
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
|
2001-08-01 16:56:31 +02:00
|
|
|
|
2004-04-25 06:56:56 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2001-08-01 16:56:31 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_LIBTOOL= 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
|
|
|
|
2005-10-08 23:11:55 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mmipspro*)
|
|
|
|
CFLAGS+= -c99
|
|
|
|
.endif
|
|
|
|
|
2001-08-01 16:56:31 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jasper
|
2004-03-02 11:28:18 +01:00
|
|
|
.for doc in jasper jpeg2000
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${doc}.pdf ${PREFIX}/share/doc/jasper
|
2001-08-01 16:56:31 +02:00
|
|
|
.endfor
|
|
|
|
|
2004-02-03 02:16:40 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2004-02-11 09:55:58 +01:00
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
2001-08-01 16:56:31 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|