diff options
author | wiz <wiz@pkgsrc.org> | 2009-09-01 21:07:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-09-01 21:07:37 +0000 |
commit | 2c1ea0d1b58f3e5bff7ce26ce414cfd0bc43011f (patch) | |
tree | 6e1f71244dcbb3c31a73feee25baef17a9aa0c96 /graphics/glpng | |
parent | 3c61af3138b0ec8fd67858299e82f49e22aba361 (diff) | |
download | pkgsrc-2c1ea0d1b58f3e5bff7ce26ce414cfd0bc43011f.tar.gz |
Initial import of glpng-1.45.20081203:
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.
Diffstat (limited to 'graphics/glpng')
-rw-r--r-- | graphics/glpng/DESCR | 5 | ||||
-rw-r--r-- | graphics/glpng/Makefile | 23 | ||||
-rw-r--r-- | graphics/glpng/PLIST | 7 | ||||
-rw-r--r-- | graphics/glpng/buildlink3.mk | 16 | ||||
-rw-r--r-- | graphics/glpng/distinfo | 5 |
5 files changed, 56 insertions, 0 deletions
diff --git a/graphics/glpng/DESCR b/graphics/glpng/DESCR new file mode 100644 index 00000000000..74a3bc4f0b6 --- /dev/null +++ b/graphics/glpng/DESCR @@ -0,0 +1,5 @@ +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. diff --git a/graphics/glpng/Makefile b/graphics/glpng/Makefile new file mode 100644 index 00000000000..a0ab72bfbd3 --- /dev/null +++ b/graphics/glpng/Makefile @@ -0,0 +1,23 @@ +# $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" diff --git a/graphics/glpng/PLIST b/graphics/glpng/PLIST new file mode 100644 index 00000000000..257113f40a4 --- /dev/null +++ b/graphics/glpng/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/09/01 21:07:37 wiz Exp $ +include/GL/glpng.h +lib/libglpng.a +lib/libglpng.so +lib/libglpng.so.1 +lib/libglpng.so.1.45 +share/doc/glpng/glpng.htm diff --git a/graphics/glpng/buildlink3.mk b/graphics/glpng/buildlink3.mk new file mode 100644 index 00000000000..4e4d16cd5cc --- /dev/null +++ b/graphics/glpng/buildlink3.mk @@ -0,0 +1,16 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/09/01 21:07:37 wiz Exp $ + +BUILDLINK_TREE+= glpng + +.if !defined(GLPNG_BUILDLINK3_MK) +GLPNG_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.glpng+= glpng>=1.45.20081203 +BUILDLINK_PKGSRCDIR.glpng?= ../../graphics/glpng + +.include "../../devel/zlib/buildlink3.mk" +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.endif # GLPNG_BUILDLINK3_MK + +BUILDLINK_TREE+= -glpng diff --git a/graphics/glpng/distinfo b/graphics/glpng/distinfo new file mode 100644 index 00000000000..c369e8eda21 --- /dev/null +++ b/graphics/glpng/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/09/01 21:07:37 wiz Exp $ + +SHA1 (glpng-1.45.20081203.tar.gz) = c2515ab3395f84cbedf49a246c091ad4078ef43b +RMD160 (glpng-1.45.20081203.tar.gz) = 14753b471d7b3192a06559a178807db30414cebd +Size (glpng-1.45.20081203.tar.gz) = 40141 bytes |