diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-04-19 18:36:02 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-04-19 18:36:02 +0000 |
commit | 08126069989562c4f097c6a77229836cfa3ee529 (patch) | |
tree | a88e357d00a9ca0b791d0f4c765c27ea5320f335 /graphics | |
parent | 37c237fd3d51006cc08fdae1621493f314682f48 (diff) | |
download | pkgsrc-08126069989562c4f097c6a77229836cfa3ee529.tar.gz |
Initial import of freeglut-2.2.0, from pkgsrc-wip.
freeglut is a completely OpenSourced alternative to the OpenGL
Utility Toolkit (GLUT) library. GLUT was originally written by
Mark Kilgard to support the sample programs in the second edition
OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety
of practical applications because it is simple, universally available
and highly portable.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/freeglut/DESCR | 6 | ||||
-rw-r--r-- | graphics/freeglut/Makefile | 20 | ||||
-rw-r--r-- | graphics/freeglut/PLIST | 11 | ||||
-rw-r--r-- | graphics/freeglut/buildlink3.mk | 18 | ||||
-rw-r--r-- | graphics/freeglut/distinfo | 4 |
5 files changed, 59 insertions, 0 deletions
diff --git a/graphics/freeglut/DESCR b/graphics/freeglut/DESCR new file mode 100644 index 00000000000..5480a9a94af --- /dev/null +++ b/graphics/freeglut/DESCR @@ -0,0 +1,6 @@ +freeglut is a completely OpenSourced alternative to the OpenGL +Utility Toolkit (GLUT) library. GLUT was originally written by +Mark Kilgard to support the sample programs in the second edition +OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety +of practical applications because it is simple, universally available +and highly portable. diff --git a/graphics/freeglut/Makefile b/graphics/freeglut/Makefile new file mode 100644 index 00000000000..e8f69d47ad1 --- /dev/null +++ b/graphics/freeglut/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/04/19 18:36:02 xtraeme Exp $ +# + +DISTNAME= freeglut-2.2.0 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freeglut/} + +MAINTAINER= xtraeme@NetBSD.org +HOMEPAGE= http://freeglut.sourceforge.net/ +COMMENT= Alternative to the OpenGL Utility Toolkit (GLUT) library + +CONFLICTS= glut-[0-9]*:../../graphics/glut + +USE_BUILDLINK3= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +USE_GNU_TOOLS+= make +USE_X11= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/freeglut/PLIST b/graphics/freeglut/PLIST new file mode 100644 index 00000000000..1110fcc80d0 --- /dev/null +++ b/graphics/freeglut/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/19 18:36:02 xtraeme Exp $ +include/GL/freeglut.h +include/GL/freeglut_ext.h +include/GL/freeglut_std.h +include/GL/glut.h +lib/libglut.a +lib/libglut.la +lib/libglut.so +lib/libglut.so.11 +lib/libglut.so.11.0 +@unexec ${RMDIR} %D/include/GL >/dev/null 2>&1 || ${TRUE} diff --git a/graphics/freeglut/buildlink3.mk b/graphics/freeglut/buildlink3.mk new file mode 100644 index 00000000000..90ff5ae50b9 --- /dev/null +++ b/graphics/freeglut/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/19 18:36:02 xtraeme Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +FREEGLUT_BUILDLINK3_MK:= ${FREEGLUT_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= freeglut +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfreeglut} +BUILDLINK_PACKAGES+= freeglut + +.if !empty(FREEGLUT_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.freeglut+= freeglut>=2.2.0 +BUILDLINK_PKGSRCDIR.freeglut?= ../../graphics/freeglut +.endif # FREEGLUT_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/graphics/freeglut/distinfo b/graphics/freeglut/distinfo new file mode 100644 index 00000000000..7660047f18d --- /dev/null +++ b/graphics/freeglut/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/04/19 18:36:02 xtraeme Exp $ + +SHA1 (freeglut-2.2.0.tar.gz) = 87c762bd9653fe844f67e1944f1397061b590dc8 +Size (freeglut-2.2.0.tar.gz) = 384055 bytes |