2d848dad00
This is a library for OpenGL to load PNG graphics files as an OpenGL texture as easily as possible. It also has a number of options for generating the alpha channel and mipmaps. This package is based on the freedesktop-games repository.
23 lines
588 B
Makefile
23 lines
588 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2009/09/01 21:07:37 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= glpng-1.45.20081203
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= #
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Load PNG images directly as OpenGL textures
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_CMAKE= yes
|
|
INSTALLATION_DIRS+= share/doc/glpng
|
|
WRKSRC= ${WRKDIR}/glpng
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/glpng.htm ${DESTDIR}${PREFIX}/share/doc/glpng
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|